From ece4ec4a1a5deb7fb444ba7ff6bf152eb0e01ebb Mon Sep 17 00:00:00 2001 From: Duologic Date: Fri, 13 Dec 2024 09:37:27 +0100 Subject: [PATCH] chore(deps): bump CRDs version from 0.21.0 to 0.22.0 --- Makefile | 2 +- docs/README.md | 2 +- .../spec/parameters/forProvider/rule/index.md | 35 +- .../parameters/forProvider/rule/record.md | 35 ++ .../parameters/initProvider/rule/index.md | 35 +- .../parameters/initProvider/rule/record.md | 35 ++ .../v1alpha1/dataSourcePermission/index.md | 456 ++++++++++++++++++ docs/raw/ml/v1alpha1/job.md | 8 +- .../parameters/forProvider/samlSettings.md | 13 + .../parameters/initProvider/samlSettings.md | 13 + docs/raw/slo/v1alpha1/slo/index.md | 8 +- .../forProvider/destinationDatasource.md | 4 +- .../initProvider/destinationDatasource.md | 4 +- .../forProvider/settings/browser.md | 21 + .../forProvider/settings/http/index.md | 13 + .../parameters/forProvider/settings/index.md | 27 ++ .../initProvider/settings/browser.md | 21 + .../initProvider/settings/http/index.md | 13 + .../parameters/initProvider/settings/index.md | 27 ++ docs/sm/check/settings/http/index.md | 13 + generator/crds.yaml | 320 +++++++++++- .../ruleGroup/spec/parameters.libsonnet | 60 ++- grafanaplane/configurations.libsonnet | 16 +- .../spec/parameters.libsonnet | 408 ++++++++++++++++ .../ml/v1alpha1/job/spec/parameters.libsonnet | 8 +- .../ssoSettings/spec/parameters.libsonnet | 8 + .../v1alpha1/slo/spec/parameters.libsonnet | 12 +- .../v1alpha1/check/spec/parameters.libsonnet | 52 ++ grafanaplane/version.libsonnet | 2 +- ...CompositeResourceDefinition-RuleGroup.yaml | 44 +- ...sourceDefinition-DataSourcePermission.yaml | 149 +++++- .../Composition-DataSourcePermission.yaml | 42 ++ .../CompositeResourceDefinition-Job.yaml | 4 +- ...mpositeResourceDefinition-SsoSettings.yaml | 10 + .../CompositeResourceDefinition-SLO.yaml | 14 +- .../CompositeResourceDefinition-Check.yaml | 32 ++ 36 files changed, 1882 insertions(+), 84 deletions(-) create mode 100644 docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/record.md create mode 100644 docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/record.md create mode 100644 docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/browser.md create mode 100644 docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/browser.md diff --git a/Makefile b/Makefile index 0b3c6f8..a79a1d7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ LIBRARY_VERSION:=0.1.0 -PROVIDER_VERSION:=0.21.0 +PROVIDER_VERSION:=0.22.0 JSONNET_BIN:=jrsonnet CROSSPLANE?=crossplane REGISTRY?=ghcr.io diff --git a/docs/README.md b/docs/README.md index ccd3c52..532659a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration ## Install ``` -jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.1.0-0.21.0 +jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.1.0-0.22.0 ``` ## Usage diff --git a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/index.md b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/index.md index 86c02d3..cea4ae6 100644 --- a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/index.md +++ b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/index.md @@ -6,6 +6,7 @@ * [data](data/index.md) * [notificationSettings](notificationSettings.md) +* [record](record.md) ## Index @@ -23,6 +24,8 @@ * [`fn withNoDataState(value)`](#fn-withnodatastate) * [`fn withNotificationSettings(value)`](#fn-withnotificationsettings) * [`fn withNotificationSettingsMixin(value)`](#fn-withnotificationsettingsmixin) +* [`fn withRecord(value)`](#fn-withrecord) +* [`fn withRecordMixin(value)`](#fn-withrecordmixin) ## Fields @@ -181,8 +184,8 @@ PARAMETERS: * **value** (`array`) -(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) -Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. +(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' to be enabled. (see below for nested schema) +Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. ### fn withNotificationSettingsMixin ```jsonnet @@ -193,5 +196,29 @@ PARAMETERS: * **value** (`array`) -(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) -Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. \ No newline at end of file +(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' to be enabled. (see below for nested schema) +Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. +### fn withRecord + +```jsonnet +withRecord(value) +``` + +PARAMETERS: + +* **value** (`array`) + +(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) +Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. +### fn withRecordMixin + +```jsonnet +withRecordMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) +Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. \ No newline at end of file diff --git a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/record.md b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/record.md new file mode 100644 index 0000000..8ea4bef --- /dev/null +++ b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/forProvider/rule/record.md @@ -0,0 +1,35 @@ +# record + + + +## Index + +* [`fn withFrom(value)`](#fn-withfrom) +* [`fn withMetric(value)`](#fn-withmetric) + +## Fields + +### fn withFrom + +```jsonnet +withFrom(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. +The ref id of the query node in the data field to use as the source of the metric. +### fn withMetric + +```jsonnet +withMetric(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) The name of the metric to write to. +The name of the metric to write to. \ No newline at end of file diff --git a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/index.md b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/index.md index 86c02d3..cea4ae6 100644 --- a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/index.md +++ b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/index.md @@ -6,6 +6,7 @@ * [data](data/index.md) * [notificationSettings](notificationSettings.md) +* [record](record.md) ## Index @@ -23,6 +24,8 @@ * [`fn withNoDataState(value)`](#fn-withnodatastate) * [`fn withNotificationSettings(value)`](#fn-withnotificationsettings) * [`fn withNotificationSettingsMixin(value)`](#fn-withnotificationsettingsmixin) +* [`fn withRecord(value)`](#fn-withrecord) +* [`fn withRecordMixin(value)`](#fn-withrecordmixin) ## Fields @@ -181,8 +184,8 @@ PARAMETERS: * **value** (`array`) -(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) -Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. +(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' to be enabled. (see below for nested schema) +Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. ### fn withNotificationSettingsMixin ```jsonnet @@ -193,5 +196,29 @@ PARAMETERS: * **value** (`array`) -(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) -Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. \ No newline at end of file +(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' to be enabled. (see below for nested schema) +Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. +### fn withRecord + +```jsonnet +withRecord(value) +``` + +PARAMETERS: + +* **value** (`array`) + +(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) +Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. +### fn withRecordMixin + +```jsonnet +withRecordMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) +Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. \ No newline at end of file diff --git a/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/record.md b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/record.md new file mode 100644 index 0000000..8ea4bef --- /dev/null +++ b/docs/raw/alerting/v1alpha1/ruleGroup/spec/parameters/initProvider/rule/record.md @@ -0,0 +1,35 @@ +# record + + + +## Index + +* [`fn withFrom(value)`](#fn-withfrom) +* [`fn withMetric(value)`](#fn-withmetric) + +## Fields + +### fn withFrom + +```jsonnet +withFrom(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. +The ref id of the query node in the data field to use as the source of the metric. +### fn withMetric + +```jsonnet +withMetric(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) The name of the metric to write to. +The name of the metric to write to. \ No newline at end of file diff --git a/docs/raw/enterprise/v1alpha1/dataSourcePermission/index.md b/docs/raw/enterprise/v1alpha1/dataSourcePermission/index.md index dedc4e9..929ffd1 100644 --- a/docs/raw/enterprise/v1alpha1/dataSourcePermission/index.md +++ b/docs/raw/enterprise/v1alpha1/dataSourcePermission/index.md @@ -73,6 +73,10 @@ * [`fn withWriteConnectionSecretToRef(value)`](#fn-specparameterswithwriteconnectionsecrettoref) * [`fn withWriteConnectionSecretToRefMixin(value)`](#fn-specparameterswithwriteconnectionsecrettorefmixin) * [`obj forProvider`](#obj-specparametersforprovider) + * [`fn withDataSourceRef(value)`](#fn-specparametersforproviderwithdatasourceref) + * [`fn withDataSourceRefMixin(value)`](#fn-specparametersforproviderwithdatasourcerefmixin) + * [`fn withDataSourceSelector(value)`](#fn-specparametersforproviderwithdatasourceselector) + * [`fn withDataSourceSelectorMixin(value)`](#fn-specparametersforproviderwithdatasourceselectormixin) * [`fn withDatasourceUid(value)`](#fn-specparametersforproviderwithdatasourceuid) * [`fn withOrgId(value)`](#fn-specparametersforproviderwithorgid) * [`fn withOrganizationRef(value)`](#fn-specparametersforproviderwithorganizationref) @@ -81,6 +85,22 @@ * [`fn withOrganizationSelectorMixin(value)`](#fn-specparametersforproviderwithorganizationselectormixin) * [`fn withPermissions(value)`](#fn-specparametersforproviderwithpermissions) * [`fn withPermissionsMixin(value)`](#fn-specparametersforproviderwithpermissionsmixin) + * [`obj dataSourceRef`](#obj-specparametersforproviderdatasourceref) + * [`fn withName(value)`](#fn-specparametersforproviderdatasourcerefwithname) + * [`fn withPolicy(value)`](#fn-specparametersforproviderdatasourcerefwithpolicy) + * [`fn withPolicyMixin(value)`](#fn-specparametersforproviderdatasourcerefwithpolicymixin) + * [`obj policy`](#obj-specparametersforproviderdatasourcerefpolicy) + * [`fn withResolution(value="Required")`](#fn-specparametersforproviderdatasourcerefpolicywithresolution) + * [`fn withResolve(value)`](#fn-specparametersforproviderdatasourcerefpolicywithresolve) + * [`obj dataSourceSelector`](#obj-specparametersforproviderdatasourceselector) + * [`fn withMatchControllerRef(value=true)`](#fn-specparametersforproviderdatasourceselectorwithmatchcontrollerref) + * [`fn withMatchLabels(value)`](#fn-specparametersforproviderdatasourceselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(value)`](#fn-specparametersforproviderdatasourceselectorwithmatchlabelsmixin) + * [`fn withPolicy(value)`](#fn-specparametersforproviderdatasourceselectorwithpolicy) + * [`fn withPolicyMixin(value)`](#fn-specparametersforproviderdatasourceselectorwithpolicymixin) + * [`obj policy`](#obj-specparametersforproviderdatasourceselectorpolicy) + * [`fn withResolution(value="Required")`](#fn-specparametersforproviderdatasourceselectorpolicywithresolution) + * [`fn withResolve(value)`](#fn-specparametersforproviderdatasourceselectorpolicywithresolve) * [`obj organizationRef`](#obj-specparametersforproviderorganizationref) * [`fn withName(value)`](#fn-specparametersforproviderorganizationrefwithname) * [`fn withPolicy(value)`](#fn-specparametersforproviderorganizationrefwithpolicy) @@ -98,6 +118,10 @@ * [`fn withResolution(value="Required")`](#fn-specparametersforproviderorganizationselectorpolicywithresolution) * [`fn withResolve(value)`](#fn-specparametersforproviderorganizationselectorpolicywithresolve) * [`obj initProvider`](#obj-specparametersinitprovider) + * [`fn withDataSourceRef(value)`](#fn-specparametersinitproviderwithdatasourceref) + * [`fn withDataSourceRefMixin(value)`](#fn-specparametersinitproviderwithdatasourcerefmixin) + * [`fn withDataSourceSelector(value)`](#fn-specparametersinitproviderwithdatasourceselector) + * [`fn withDataSourceSelectorMixin(value)`](#fn-specparametersinitproviderwithdatasourceselectormixin) * [`fn withDatasourceUid(value)`](#fn-specparametersinitproviderwithdatasourceuid) * [`fn withOrgId(value)`](#fn-specparametersinitproviderwithorgid) * [`fn withOrganizationRef(value)`](#fn-specparametersinitproviderwithorganizationref) @@ -106,6 +130,22 @@ * [`fn withOrganizationSelectorMixin(value)`](#fn-specparametersinitproviderwithorganizationselectormixin) * [`fn withPermissions(value)`](#fn-specparametersinitproviderwithpermissions) * [`fn withPermissionsMixin(value)`](#fn-specparametersinitproviderwithpermissionsmixin) + * [`obj dataSourceRef`](#obj-specparametersinitproviderdatasourceref) + * [`fn withName(value)`](#fn-specparametersinitproviderdatasourcerefwithname) + * [`fn withPolicy(value)`](#fn-specparametersinitproviderdatasourcerefwithpolicy) + * [`fn withPolicyMixin(value)`](#fn-specparametersinitproviderdatasourcerefwithpolicymixin) + * [`obj policy`](#obj-specparametersinitproviderdatasourcerefpolicy) + * [`fn withResolution(value="Required")`](#fn-specparametersinitproviderdatasourcerefpolicywithresolution) + * [`fn withResolve(value)`](#fn-specparametersinitproviderdatasourcerefpolicywithresolve) + * [`obj dataSourceSelector`](#obj-specparametersinitproviderdatasourceselector) + * [`fn withMatchControllerRef(value=true)`](#fn-specparametersinitproviderdatasourceselectorwithmatchcontrollerref) + * [`fn withMatchLabels(value)`](#fn-specparametersinitproviderdatasourceselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(value)`](#fn-specparametersinitproviderdatasourceselectorwithmatchlabelsmixin) + * [`fn withPolicy(value)`](#fn-specparametersinitproviderdatasourceselectorwithpolicy) + * [`fn withPolicyMixin(value)`](#fn-specparametersinitproviderdatasourceselectorwithpolicymixin) + * [`obj policy`](#obj-specparametersinitproviderdatasourceselectorpolicy) + * [`fn withResolution(value="Required")`](#fn-specparametersinitproviderdatasourceselectorpolicywithresolution) + * [`fn withResolve(value)`](#fn-specparametersinitproviderdatasourceselectorpolicywithresolve) * [`obj organizationRef`](#obj-specparametersinitproviderorganizationref) * [`fn withName(value)`](#fn-specparametersinitproviderorganizationrefwithname) * [`fn withPolicy(value)`](#fn-specparametersinitproviderorganizationrefwithpolicy) @@ -894,6 +934,50 @@ each other. ##### obj spec.parameters.forProvider +###### fn spec.parameters.forProvider.withDataSourceRef + +```jsonnet +spec.parameters.forProvider.withDataSourceRef(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reference to a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.forProvider.withDataSourceRefMixin + +```jsonnet +spec.parameters.forProvider.withDataSourceRefMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reference to a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.forProvider.withDataSourceSelector + +```jsonnet +spec.parameters.forProvider.withDataSourceSelector(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Selector for a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.forProvider.withDataSourceSelectorMixin + +```jsonnet +spec.parameters.forProvider.withDataSourceSelectorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Selector for a DataSource in oss to populate datasourceUid. ###### fn spec.parameters.forProvider.withDatasourceUid ```jsonnet @@ -986,6 +1070,170 @@ PARAMETERS: (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) The permission items to add/update. Items that are omitted from the list will be removed. +###### obj spec.parameters.forProvider.dataSourceRef + + +####### fn spec.parameters.forProvider.dataSourceRef.withName + +```jsonnet +spec.parameters.forProvider.dataSourceRef.withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Name of the referenced object. +####### fn spec.parameters.forProvider.dataSourceRef.withPolicy + +```jsonnet +spec.parameters.forProvider.dataSourceRef.withPolicy(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for referencing. +####### fn spec.parameters.forProvider.dataSourceRef.withPolicyMixin + +```jsonnet +spec.parameters.forProvider.dataSourceRef.withPolicyMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for referencing. +####### obj spec.parameters.forProvider.dataSourceRef.policy + + +######## fn spec.parameters.forProvider.dataSourceRef.policy.withResolution + +```jsonnet +spec.parameters.forProvider.dataSourceRef.policy.withResolution(value="Required") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"Required"` + - valid values: `"Required"`, `"Optional"` + +Resolution specifies whether resolution of this reference is required. +The default is 'Required', which means the reconcile will fail if the +reference cannot be resolved. 'Optional' means this reference will be +a no-op if it cannot be resolved. +######## fn spec.parameters.forProvider.dataSourceRef.policy.withResolve + +```jsonnet +spec.parameters.forProvider.dataSourceRef.policy.withResolve(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"Always"`, `"IfNotPresent"` + +Resolve specifies when this reference should be resolved. The default +is 'IfNotPresent', which will attempt to resolve the reference only when +the corresponding field is not present. Use 'Always' to resolve the +reference on every reconcile. +###### obj spec.parameters.forProvider.dataSourceSelector + + +####### fn spec.parameters.forProvider.dataSourceSelector.withMatchControllerRef + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.withMatchControllerRef(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +MatchControllerRef ensures an object with the same controller reference +as the selecting object is selected. +####### fn spec.parameters.forProvider.dataSourceSelector.withMatchLabels + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.withMatchLabels(value) +``` + +PARAMETERS: + +* **value** (`object`) + +MatchLabels ensures an object with matching labels is selected. +####### fn spec.parameters.forProvider.dataSourceSelector.withMatchLabelsMixin + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.withMatchLabelsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +MatchLabels ensures an object with matching labels is selected. +####### fn spec.parameters.forProvider.dataSourceSelector.withPolicy + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.withPolicy(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for selection. +####### fn spec.parameters.forProvider.dataSourceSelector.withPolicyMixin + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.withPolicyMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for selection. +####### obj spec.parameters.forProvider.dataSourceSelector.policy + + +######## fn spec.parameters.forProvider.dataSourceSelector.policy.withResolution + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.policy.withResolution(value="Required") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"Required"` + - valid values: `"Required"`, `"Optional"` + +Resolution specifies whether resolution of this reference is required. +The default is 'Required', which means the reconcile will fail if the +reference cannot be resolved. 'Optional' means this reference will be +a no-op if it cannot be resolved. +######## fn spec.parameters.forProvider.dataSourceSelector.policy.withResolve + +```jsonnet +spec.parameters.forProvider.dataSourceSelector.policy.withResolve(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"Always"`, `"IfNotPresent"` + +Resolve specifies when this reference should be resolved. The default +is 'IfNotPresent', which will attempt to resolve the reference only when +the corresponding field is not present. Use 'Always' to resolve the +reference on every reconcile. ###### obj spec.parameters.forProvider.organizationRef @@ -1153,6 +1401,50 @@ reference on every reconcile. ##### obj spec.parameters.initProvider +###### fn spec.parameters.initProvider.withDataSourceRef + +```jsonnet +spec.parameters.initProvider.withDataSourceRef(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reference to a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.initProvider.withDataSourceRefMixin + +```jsonnet +spec.parameters.initProvider.withDataSourceRefMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Reference to a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.initProvider.withDataSourceSelector + +```jsonnet +spec.parameters.initProvider.withDataSourceSelector(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Selector for a DataSource in oss to populate datasourceUid. +###### fn spec.parameters.initProvider.withDataSourceSelectorMixin + +```jsonnet +spec.parameters.initProvider.withDataSourceSelectorMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Selector for a DataSource in oss to populate datasourceUid. ###### fn spec.parameters.initProvider.withDatasourceUid ```jsonnet @@ -1245,6 +1537,170 @@ PARAMETERS: (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) The permission items to add/update. Items that are omitted from the list will be removed. +###### obj spec.parameters.initProvider.dataSourceRef + + +####### fn spec.parameters.initProvider.dataSourceRef.withName + +```jsonnet +spec.parameters.initProvider.dataSourceRef.withName(value) +``` + +PARAMETERS: + +* **value** (`string`) + +Name of the referenced object. +####### fn spec.parameters.initProvider.dataSourceRef.withPolicy + +```jsonnet +spec.parameters.initProvider.dataSourceRef.withPolicy(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for referencing. +####### fn spec.parameters.initProvider.dataSourceRef.withPolicyMixin + +```jsonnet +spec.parameters.initProvider.dataSourceRef.withPolicyMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for referencing. +####### obj spec.parameters.initProvider.dataSourceRef.policy + + +######## fn spec.parameters.initProvider.dataSourceRef.policy.withResolution + +```jsonnet +spec.parameters.initProvider.dataSourceRef.policy.withResolution(value="Required") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"Required"` + - valid values: `"Required"`, `"Optional"` + +Resolution specifies whether resolution of this reference is required. +The default is 'Required', which means the reconcile will fail if the +reference cannot be resolved. 'Optional' means this reference will be +a no-op if it cannot be resolved. +######## fn spec.parameters.initProvider.dataSourceRef.policy.withResolve + +```jsonnet +spec.parameters.initProvider.dataSourceRef.policy.withResolve(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"Always"`, `"IfNotPresent"` + +Resolve specifies when this reference should be resolved. The default +is 'IfNotPresent', which will attempt to resolve the reference only when +the corresponding field is not present. Use 'Always' to resolve the +reference on every reconcile. +###### obj spec.parameters.initProvider.dataSourceSelector + + +####### fn spec.parameters.initProvider.dataSourceSelector.withMatchControllerRef + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.withMatchControllerRef(value=true) +``` + +PARAMETERS: + +* **value** (`boolean`) + - default value: `true` + +MatchControllerRef ensures an object with the same controller reference +as the selecting object is selected. +####### fn spec.parameters.initProvider.dataSourceSelector.withMatchLabels + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.withMatchLabels(value) +``` + +PARAMETERS: + +* **value** (`object`) + +MatchLabels ensures an object with matching labels is selected. +####### fn spec.parameters.initProvider.dataSourceSelector.withMatchLabelsMixin + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.withMatchLabelsMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +MatchLabels ensures an object with matching labels is selected. +####### fn spec.parameters.initProvider.dataSourceSelector.withPolicy + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.withPolicy(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for selection. +####### fn spec.parameters.initProvider.dataSourceSelector.withPolicyMixin + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.withPolicyMixin(value) +``` + +PARAMETERS: + +* **value** (`object`) + +Policies for selection. +####### obj spec.parameters.initProvider.dataSourceSelector.policy + + +######## fn spec.parameters.initProvider.dataSourceSelector.policy.withResolution + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.policy.withResolution(value="Required") +``` + +PARAMETERS: + +* **value** (`string`) + - default value: `"Required"` + - valid values: `"Required"`, `"Optional"` + +Resolution specifies whether resolution of this reference is required. +The default is 'Required', which means the reconcile will fail if the +reference cannot be resolved. 'Optional' means this reference will be +a no-op if it cannot be resolved. +######## fn spec.parameters.initProvider.dataSourceSelector.policy.withResolve + +```jsonnet +spec.parameters.initProvider.dataSourceSelector.policy.withResolve(value) +``` + +PARAMETERS: + +* **value** (`string`) + - valid values: `"Always"`, `"IfNotPresent"` + +Resolve specifies when this reference should be resolved. The default +is 'IfNotPresent', which will attempt to resolve the reference only when +the corresponding field is not present. Use 'Always' to resolve the +reference on every reconcile. ###### obj spec.parameters.initProvider.organizationRef diff --git a/docs/raw/ml/v1alpha1/job.md b/docs/raw/ml/v1alpha1/job.md index 85483a9..2c28c63 100644 --- a/docs/raw/ml/v1alpha1/job.md +++ b/docs/raw/ml/v1alpha1/job.md @@ -1042,7 +1042,7 @@ PARAMETERS: * **value** (`object`) -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[]`. +The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. ###### fn spec.parameters.forProvider.withHyperParamsMixin ```jsonnet @@ -1053,7 +1053,7 @@ PARAMETERS: * **value** (`object`) -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[]`. +The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. ###### fn spec.parameters.forProvider.withInterval ```jsonnet @@ -1418,7 +1418,7 @@ PARAMETERS: * **value** (`object`) -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[]`. +The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. ###### fn spec.parameters.initProvider.withHyperParamsMixin ```jsonnet @@ -1429,7 +1429,7 @@ PARAMETERS: * **value** (`object`) -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[]`. +The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. ###### fn spec.parameters.initProvider.withInterval ```jsonnet diff --git a/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/forProvider/samlSettings.md b/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/forProvider/samlSettings.md index 4fd0ef5..335c87d 100644 --- a/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/forProvider/samlSettings.md +++ b/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/forProvider/samlSettings.md @@ -20,6 +20,7 @@ * [`fn withClientId(value)`](#fn-withclientid) * [`fn withClientSecret(value)`](#fn-withclientsecret) * [`fn withEnabled(value=true)`](#fn-withenabled) +* [`fn withEntityId(value)`](#fn-withentityid) * [`fn withForceUseGraphApi(value=true)`](#fn-withforceusegraphapi) * [`fn withIdpMetadata(value)`](#fn-withidpmetadata) * [`fn withIdpMetadataPath(value)`](#fn-withidpmetadatapath) @@ -249,6 +250,18 @@ PARAMETERS: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. +### fn withEntityId + +```jsonnet +withEntityId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. +The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. ### fn withForceUseGraphApi ```jsonnet diff --git a/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/initProvider/samlSettings.md b/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/initProvider/samlSettings.md index 4fd0ef5..335c87d 100644 --- a/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/initProvider/samlSettings.md +++ b/docs/raw/oss/v1alpha1/ssoSettings/spec/parameters/initProvider/samlSettings.md @@ -20,6 +20,7 @@ * [`fn withClientId(value)`](#fn-withclientid) * [`fn withClientSecret(value)`](#fn-withclientsecret) * [`fn withEnabled(value=true)`](#fn-withenabled) +* [`fn withEntityId(value)`](#fn-withentityid) * [`fn withForceUseGraphApi(value=true)`](#fn-withforceusegraphapi) * [`fn withIdpMetadata(value)`](#fn-withidpmetadata) * [`fn withIdpMetadataPath(value)`](#fn-withidpmetadatapath) @@ -249,6 +250,18 @@ PARAMETERS: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. +### fn withEntityId + +```jsonnet +withEntityId(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. +The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. ### fn withForceUseGraphApi ```jsonnet diff --git a/docs/raw/slo/v1alpha1/slo/index.md b/docs/raw/slo/v1alpha1/slo/index.md index 81a4cac..8c8fe07 100644 --- a/docs/raw/slo/v1alpha1/slo/index.md +++ b/docs/raw/slo/v1alpha1/slo/index.md @@ -940,7 +940,7 @@ PARAMETERS: * **value** (`array`) -(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) +(Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO ###### fn spec.parameters.forProvider.withDestinationDatasourceMixin @@ -952,7 +952,7 @@ PARAMETERS: * **value** (`array`) -(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) +(Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO ###### fn spec.parameters.forProvider.withFolderUid @@ -1123,7 +1123,7 @@ PARAMETERS: * **value** (`array`) -(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) +(Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO ###### fn spec.parameters.initProvider.withDestinationDatasourceMixin @@ -1135,7 +1135,7 @@ PARAMETERS: * **value** (`array`) -(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) +(Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO ###### fn spec.parameters.initProvider.withFolderUid diff --git a/docs/raw/slo/v1alpha1/slo/spec/parameters/forProvider/destinationDatasource.md b/docs/raw/slo/v1alpha1/slo/spec/parameters/forProvider/destinationDatasource.md index 1a9b498..719ab5f 100644 --- a/docs/raw/slo/v1alpha1/slo/spec/parameters/forProvider/destinationDatasource.md +++ b/docs/raw/slo/v1alpha1/slo/spec/parameters/forProvider/destinationDatasource.md @@ -82,8 +82,8 @@ PARAMETERS: * **value** (`string`) -(String) UID for the Mimir Datasource -UID for the Mimir Datasource +(String) UID for the Datasource +UID for the Datasource ### obj ref diff --git a/docs/raw/slo/v1alpha1/slo/spec/parameters/initProvider/destinationDatasource.md b/docs/raw/slo/v1alpha1/slo/spec/parameters/initProvider/destinationDatasource.md index 1a9b498..719ab5f 100644 --- a/docs/raw/slo/v1alpha1/slo/spec/parameters/initProvider/destinationDatasource.md +++ b/docs/raw/slo/v1alpha1/slo/spec/parameters/initProvider/destinationDatasource.md @@ -82,8 +82,8 @@ PARAMETERS: * **value** (`string`) -(String) UID for the Mimir Datasource -UID for the Mimir Datasource +(String) UID for the Datasource +UID for the Datasource ### obj ref diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/browser.md b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/browser.md new file mode 100644 index 0000000..95207da --- /dev/null +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/browser.md @@ -0,0 +1,21 @@ +# browser + + + +## Index + +* [`fn withScript(value)`](#fn-withscript) + +## Fields + +### fn withScript + +```jsonnet +withScript(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) \ No newline at end of file diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/http/index.md b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/http/index.md index f1a79f1..648ee9f 100644 --- a/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/http/index.md +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/http/index.md @@ -17,6 +17,7 @@ * [`fn withBearerTokenSecretRefMixin(value)`](#fn-withbearertokensecretrefmixin) * [`fn withBody(value)`](#fn-withbody) * [`fn withCacheBustingQueryParamName(value)`](#fn-withcachebustingqueryparamname) +* [`fn withCompression(value)`](#fn-withcompression) * [`fn withFailIfBodyMatchesRegexp(value)`](#fn-withfailifbodymatchesregexp) * [`fn withFailIfBodyMatchesRegexpMixin(value)`](#fn-withfailifbodymatchesregexpmixin) * [`fn withFailIfBodyNotMatchesRegexp(value)`](#fn-withfailifbodynotmatchesregexp) @@ -120,6 +121,18 @@ PARAMETERS: (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. 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. +### fn withCompression + +```jsonnet +withCompression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. +Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. ### fn withFailIfBodyMatchesRegexp ```jsonnet diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/index.md b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/index.md index e35914a..165ce5c 100644 --- a/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/index.md +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/forProvider/settings/index.md @@ -4,6 +4,7 @@ ## Subpackages +* [browser](browser.md) * [dns](dns/index.md) * [grpc](grpc/index.md) * [http](http/index.md) @@ -15,6 +16,8 @@ ## Index +* [`fn withBrowser(value)`](#fn-withbrowser) +* [`fn withBrowserMixin(value)`](#fn-withbrowsermixin) * [`fn withDns(value)`](#fn-withdns) * [`fn withDnsMixin(value)`](#fn-withdnsmixin) * [`fn withGrpc(value)`](#fn-withgrpc) @@ -34,6 +37,30 @@ ## Fields +### fn withBrowser + +```jsonnet +withBrowser(value) +``` + +PARAMETERS: + +* **value** (`array`) + +cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) +Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. +### fn withBrowserMixin + +```jsonnet +withBrowserMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) +Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. ### fn withDns ```jsonnet diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/browser.md b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/browser.md new file mode 100644 index 0000000..95207da --- /dev/null +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/browser.md @@ -0,0 +1,21 @@ +# browser + + + +## Index + +* [`fn withScript(value)`](#fn-withscript) + +## Fields + +### fn withScript + +```jsonnet +withScript(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) \ No newline at end of file diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/http/index.md b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/http/index.md index f1a79f1..648ee9f 100644 --- a/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/http/index.md +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/http/index.md @@ -17,6 +17,7 @@ * [`fn withBearerTokenSecretRefMixin(value)`](#fn-withbearertokensecretrefmixin) * [`fn withBody(value)`](#fn-withbody) * [`fn withCacheBustingQueryParamName(value)`](#fn-withcachebustingqueryparamname) +* [`fn withCompression(value)`](#fn-withcompression) * [`fn withFailIfBodyMatchesRegexp(value)`](#fn-withfailifbodymatchesregexp) * [`fn withFailIfBodyMatchesRegexpMixin(value)`](#fn-withfailifbodymatchesregexpmixin) * [`fn withFailIfBodyNotMatchesRegexp(value)`](#fn-withfailifbodynotmatchesregexp) @@ -120,6 +121,18 @@ PARAMETERS: (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. 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. +### fn withCompression + +```jsonnet +withCompression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. +Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. ### fn withFailIfBodyMatchesRegexp ```jsonnet diff --git a/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/index.md b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/index.md index e35914a..165ce5c 100644 --- a/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/index.md +++ b/docs/raw/sm/v1alpha1/check/spec/parameters/initProvider/settings/index.md @@ -4,6 +4,7 @@ ## Subpackages +* [browser](browser.md) * [dns](dns/index.md) * [grpc](grpc/index.md) * [http](http/index.md) @@ -15,6 +16,8 @@ ## Index +* [`fn withBrowser(value)`](#fn-withbrowser) +* [`fn withBrowserMixin(value)`](#fn-withbrowsermixin) * [`fn withDns(value)`](#fn-withdns) * [`fn withDnsMixin(value)`](#fn-withdnsmixin) * [`fn withGrpc(value)`](#fn-withgrpc) @@ -34,6 +37,30 @@ ## Fields +### fn withBrowser + +```jsonnet +withBrowser(value) +``` + +PARAMETERS: + +* **value** (`array`) + +cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) +Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. +### fn withBrowserMixin + +```jsonnet +withBrowserMixin(value) +``` + +PARAMETERS: + +* **value** (`array`) + +cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) +Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. ### fn withDns ```jsonnet diff --git a/docs/sm/check/settings/http/index.md b/docs/sm/check/settings/http/index.md index 1631665..c5a7dc9 100644 --- a/docs/sm/check/settings/http/index.md +++ b/docs/sm/check/settings/http/index.md @@ -18,6 +18,7 @@ * [`fn withBearerTokenSecretRefMixin(value)`](#fn-withbearertokensecretrefmixin) * [`fn withBody(value)`](#fn-withbody) * [`fn withCacheBustingQueryParamName(value)`](#fn-withcachebustingqueryparamname) +* [`fn withCompression(value)`](#fn-withcompression) * [`fn withFailIfBodyMatchesRegexp(value)`](#fn-withfailifbodymatchesregexp) * [`fn withFailIfBodyMatchesRegexpMixin(value)`](#fn-withfailifbodymatchesregexpmixin) * [`fn withFailIfBodyNotMatchesRegexp(value)`](#fn-withfailifbodynotmatchesregexp) @@ -134,6 +135,18 @@ PARAMETERS: (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. 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. +### fn withCompression + +```jsonnet +withCompression(value) +``` + +PARAMETERS: + +* **value** (`string`) + +(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. +Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. ### fn withFailIfBodyMatchesRegexp ```jsonnet diff --git a/generator/crds.yaml b/generator/crds.yaml index 98f2836..0c5d332 100644 --- a/generator/crds.yaml +++ b/generator/crds.yaml @@ -9023,8 +9023,8 @@ spec: type: string notificationSettings: description: |- - (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) - Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. + (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' to be enabled. (see below for nested schema) + Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. items: properties: contactPoint: @@ -9139,6 +9139,24 @@ spec: type: string type: object type: array + record: + description: |- + (Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) + Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. + items: + properties: + from: + description: |- + (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. + The ref id of the query node in the data field to use as the source of the metric. + type: string + metric: + description: |- + (String) The name of the metric to write to. + The name of the metric to write to. + type: string + type: object + type: array type: object type: array type: object @@ -9426,8 +9444,8 @@ spec: type: string notificationSettings: description: |- - (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) - Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. + (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' to be enabled. (see below for nested schema) + Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. items: properties: contactPoint: @@ -9542,6 +9560,24 @@ spec: type: string type: object type: array + record: + description: |- + (Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) + Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. + items: + properties: + from: + description: |- + (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. + The ref id of the query node in the data field to use as the source of the metric. + type: string + metric: + description: |- + (String) The name of the metric to write to. + The name of the metric to write to. + type: string + type: object + type: array type: object type: array type: object @@ -9856,8 +9892,8 @@ spec: type: string notificationSettings: description: |- - (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) - Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. + (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' to be enabled. (see below for nested schema) + Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. items: properties: contactPoint: @@ -9896,6 +9932,24 @@ spec: type: string type: object type: array + record: + description: |- + (Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) + Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. + items: + properties: + from: + description: |- + (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. + The ref id of the query node in the data field to use as the source of the metric. + type: string + metric: + description: |- + (String) The name of the metric to write to. + The name of the metric to write to. + type: string + type: object + type: array uid: description: |- (String) The unique identifier of the alert rule. @@ -13624,6 +13678,80 @@ spec: type: string forProvider: properties: + dataSourceRef: + description: Reference to a DataSource in oss to populate datasourceUid. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataSourceSelector: + description: Selector for a DataSource in oss to populate datasourceUid. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object datasourceUid: description: |- (String) UID of the datasource to apply permissions to. @@ -13898,6 +14026,80 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dataSourceRef: + description: Reference to a DataSource in oss to populate datasourceUid. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataSourceSelector: + description: Selector for a DataSource in oss to populate datasourceUid. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object datasourceUid: description: |- (String) UID of the datasource to apply permissions to. @@ -14326,11 +14528,6 @@ spec: required: - forProvider type: object - x-kubernetes-validations: - - message: spec.forProvider.datasourceUid is a required parameter - rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies - || ''Update'' in self.managementPolicies) || has(self.forProvider.datasourceUid) - || (has(self.initProvider) && has(self.initProvider.datasourceUid))' status: description: DataSourcePermissionStatus defines the observed state of DataSourcePermission. @@ -18722,7 +18919,10 @@ spec: schema: openAPIV3Schema: description: Job is the Schema for the Jobs API. A job defines the queries - and model parameters for a machine learning task. + and model parameters for a machine learning task. See the Grafana Cloud + docs https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ + for more information on available hyperparameters for use in the hyper_params + field. properties: apiVersion: description: |- @@ -18861,7 +19061,7 @@ spec: additionalProperties: type: string description: The hyperparameters used to fine tune the algorithm. - See https://grafana.com/docs/grafana-cloud/machine-learning/models/ + See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. type: object @@ -19002,7 +19202,7 @@ spec: additionalProperties: type: string description: The hyperparameters used to fine tune the algorithm. - See https://grafana.com/docs/grafana-cloud/machine-learning/models/ + See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. type: object @@ -19245,7 +19445,7 @@ spec: additionalProperties: type: string description: The hyperparameters used to fine tune the algorithm. - See https://grafana.com/docs/grafana-cloud/machine-learning/models/ + See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`. type: object @@ -36802,6 +37002,11 @@ spec: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. type: boolean + entityId: + description: |- + (String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + type: string forceUseGraphApi: description: |- (Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token. @@ -37492,6 +37697,11 @@ spec: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. type: boolean + entityId: + description: |- + (String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + type: string forceUseGraphApi: description: |- (Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token. @@ -38254,6 +38464,11 @@ spec: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. type: boolean + entityId: + description: |- + (String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + type: string forceUseGraphApi: description: |- (Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token. @@ -39224,6 +39439,11 @@ spec: x-kubernetes-list-type: set type: object type: array + teamUid: + description: |- + (String) The team uid assigned to this team by Grafana. + The team uid assigned to this team by Grafana. + type: string type: object conditions: description: Conditions of the resource. @@ -39966,7 +40186,7 @@ spec: type: string destinationDatasource: description: |- - (Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) + (Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO items: properties: @@ -40048,8 +40268,8 @@ spec: type: object uid: description: |- - (String) UID for the Mimir Datasource - UID for the Mimir Datasource + (String) UID for the Datasource + UID for the Datasource type: string type: object type: array @@ -40325,7 +40545,7 @@ spec: type: string destinationDatasource: description: |- - (Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) + (Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO items: properties: @@ -40407,8 +40627,8 @@ spec: type: object uid: description: |- - (String) UID for the Mimir Datasource - UID for the Mimir Datasource + (String) UID for the Datasource + UID for the Datasource type: string type: object type: array @@ -40685,6 +40905,10 @@ spec: rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.destinationDatasource is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationDatasource) + || (has(self.initProvider) && has(self.initProvider.destinationDatasource))' - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) @@ -40860,14 +41084,14 @@ spec: type: string destinationDatasource: description: |- - (Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) + (Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO items: properties: uid: description: |- - (String) UID for the Mimir Datasource - UID for the Mimir Datasource + (String) UID for the Datasource + UID for the Datasource type: string type: object type: array @@ -41163,6 +41387,17 @@ spec: Check settings. Should contain exactly one nested block. items: properties: + browser: + description: |- + cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) + Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. + items: + properties: + script: + description: (String) + type: string + type: object + type: array dns: description: |- (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) @@ -41418,6 +41653,11 @@ spec: (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. 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. type: string + compression: + description: |- + (String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. + Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. + type: string failIfBodyMatchesRegexp: description: |- (Set of String) List of regexes. If any match the response body, the check will fail. @@ -41971,6 +42211,17 @@ spec: Check settings. Should contain exactly one nested block. items: properties: + browser: + description: |- + cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) + Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. + items: + properties: + script: + description: (String) + type: string + type: object + type: array dns: description: |- (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) @@ -42228,6 +42479,11 @@ spec: (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. 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. type: string + compression: + description: |- + (String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. + Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. + type: string failIfBodyMatchesRegexp: description: |- (Set of String) List of regexes. If any match the response body, the check will fail. @@ -42960,6 +43216,17 @@ spec: Check settings. Should contain exactly one nested block. items: properties: + browser: + description: |- + cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) + Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. + items: + properties: + script: + description: (String) + type: string + type: object + type: array dns: description: |- (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) @@ -43158,6 +43425,11 @@ spec: (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. 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. type: string + compression: + description: |- + (String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. + Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. + type: string failIfBodyMatchesRegexp: description: |- (Set of String) List of regexes. If any match the response body, the check will fail. diff --git a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet index 1c0723b..a4ffb8a 100644 --- a/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet +++ b/grafanaplane/alerting/v1alpha1/ruleGroup/spec/parameters.libsonnet @@ -620,14 +620,14 @@ 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': { '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' to be 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' to be 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': { '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' to be 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' to be enabled." } }, withNotificationSettingsMixin(value): { notificationSettings+: (if std.isArray(value) @@ -790,6 +790,32 @@ repeatInterval: value, }, }, + '#withRecord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema)\nSettings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled." } }, + withRecord(value): { + record: + (if std.isArray(value) + then value + else [value]), + }, + '#withRecordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema)\nSettings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled." } }, + withRecordMixin(value): { + record+: + (if std.isArray(value) + then value + else [value]), + }, + record+: + { + '#': { help: '', name: 'record' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe ref id of the query node in the data field to use as the source of the metric.' } }, + withFrom(value): { + from: value, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the metric to write to.\nThe name of the metric to write to.' } }, + withMetric(value): { + metric: 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.' } }, @@ -1397,14 +1423,14 @@ 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': { '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' to be 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' to be 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': { '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' to be 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' to be enabled." } }, withNotificationSettingsMixin(value): { notificationSettings+: (if std.isArray(value) @@ -1567,6 +1593,32 @@ repeatInterval: value, }, }, + '#withRecord': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema)\nSettings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled." } }, + withRecord(value): { + record: + (if std.isArray(value) + then value + else [value]), + }, + '#withRecordMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "(Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema)\nSettings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled." } }, + withRecordMixin(value): { + record+: + (if std.isArray(value) + then value + else [value]), + }, + record+: + { + '#': { help: '', name: 'record' }, + '#withFrom': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins.\nThe ref id of the query node in the data field to use as the source of the metric.' } }, + withFrom(value): { + from: value, + }, + '#withMetric': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The name of the metric to write to.\nThe name of the metric to write to.' } }, + withMetric(value): { + metric: 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' } }, diff --git a/grafanaplane/configurations.libsonnet b/grafanaplane/configurations.libsonnet index a0a44b0..1b4b925 100644 --- a/grafanaplane/configurations.libsonnet +++ b/grafanaplane/configurations.libsonnet @@ -9,7 +9,7 @@ name: 'grafana-namespaced-alerting', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.1.0-0.22.0', }, }, cloud: { @@ -22,7 +22,7 @@ name: 'grafana-namespaced-cloud', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.1.0-0.22.0', }, }, enterprise: { @@ -35,7 +35,7 @@ name: 'grafana-namespaced-enterprise', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.1.0-0.22.0', }, }, ml: { @@ -48,7 +48,7 @@ name: 'grafana-namespaced-ml', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.1.0-0.22.0', }, }, oncall: { @@ -61,7 +61,7 @@ name: 'grafana-namespaced-oncall', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.1.0-0.22.0', }, }, oss: { @@ -74,7 +74,7 @@ name: 'grafana-namespaced-oss', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.1.0-0.22.0', }, }, slo: { @@ -87,7 +87,7 @@ name: 'grafana-namespaced-slo', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.1.0-0.22.0', }, }, sm: { @@ -100,7 +100,7 @@ name: 'grafana-namespaced-sm', }, spec: { - package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.1.0-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.1.0-0.22.0', }, }, } diff --git a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet index 7fd7d08..6c6444a 100644 --- a/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet +++ b/grafanaplane/enterprise/v1alpha1/dataSourcePermission/spec/parameters.libsonnet @@ -33,6 +33,210 @@ }, forProvider+: { + '#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, + }, + }, + }, + }, + }, + }, + }, + }, '#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+: { @@ -538,6 +742,210 @@ }, initProvider+: { + '#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, + }, + }, + }, + }, + }, + }, + }, + }, '#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+: { diff --git a/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet b/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet index 82e2c88..74eb7dd 100644 --- a/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet +++ b/grafanaplane/ml/v1alpha1/job/spec/parameters.libsonnet @@ -313,7 +313,7 @@ }, }, }, - '#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': { '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/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, withHyperParams(value): { spec+: { parameters+: { @@ -323,7 +323,7 @@ }, }, }, - '#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': { '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/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, withHyperParamsMixin(value): { spec+: { parameters+: { @@ -692,7 +692,7 @@ }, }, }, - '#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': { '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/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, withHyperParams(value): { spec+: { parameters+: { @@ -702,7 +702,7 @@ }, }, }, - '#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': { '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/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`.' } }, withHyperParamsMixin(value): { spec+: { parameters+: { diff --git a/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet b/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet index 41e8934..f660751 100644 --- a/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet +++ b/grafanaplane/oss/v1alpha1/ssoSettings/spec/parameters.libsonnet @@ -695,6 +695,10 @@ withEnabled(value=true): { enabled: value, }, + '#withEntityId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.\nThe entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.' } }, + withEntityId(value): { + entityId: value, + }, '#withForceUseGraphApi': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.\nIf enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.' } }, withForceUseGraphApi(value=true): { forceUseGraphApi: value, @@ -1486,6 +1490,10 @@ withEnabled(value=true): { enabled: value, }, + '#withEntityId': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.\nThe entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set.' } }, + withEntityId(value): { + entityId: value, + }, '#withForceUseGraphApi': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: '(Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.\nIf enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token.' } }, withForceUseGraphApi(value=true): { forceUseGraphApi: value, diff --git a/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet b/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet index dc9b513..f01297d 100644 --- a/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet +++ b/grafanaplane/slo/v1alpha1/slo/spec/parameters.libsonnet @@ -287,7 +287,7 @@ }, }, }, - '#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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, 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+: { @@ -300,7 +300,7 @@ }, }, }, - '#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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, 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+: { @@ -424,7 +424,7 @@ }, }, }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Datasource\nUID for the Datasource' } }, withUid(value): { uid: value, }, @@ -904,7 +904,7 @@ }, }, }, - '#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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, 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+: { @@ -917,7 +917,7 @@ }, }, }, - '#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': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: '(Block List, Min: 1, 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+: { @@ -1041,7 +1041,7 @@ }, }, }, - '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Mimir Datasource\nUID for the Mimir Datasource' } }, + '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) UID for the Datasource\nUID for the Datasource' } }, withUid(value): { uid: value, }, diff --git a/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet b/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet index bdb856c..e748dd1 100644 --- a/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet +++ b/grafanaplane/sm/v1alpha1/check/spec/parameters.libsonnet @@ -158,6 +158,28 @@ settings+: { '#': { help: '', name: 'settings' }, + '#withBrowser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema)\nSettings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.' } }, + withBrowser(value): { + browser: + (if std.isArray(value) + then value + else [value]), + }, + '#withBrowserMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema)\nSettings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.' } }, + withBrowserMixin(value): { + browser+: + (if std.isArray(value) + then value + else [value]), + }, + browser+: + { + '#': { help: '', name: 'browser' }, + '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withScript(value): { + script: value, + }, + }, '#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: @@ -550,6 +572,10 @@ withCacheBustingQueryParamName(value): { cacheBustingQueryParamName: value, }, + '#withCompression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate.\nCheck fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`.' } }, + withCompression(value): { + compression: 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: @@ -1372,6 +1398,28 @@ settings+: { '#': { help: '', name: 'settings' }, + '#withBrowser': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema)\nSettings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.' } }, + withBrowser(value): { + browser: + (if std.isArray(value) + then value + else [value]), + }, + '#withBrowserMixin': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: 'cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema)\nSettings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.' } }, + withBrowserMixin(value): { + browser+: + (if std.isArray(value) + then value + else [value]), + }, + browser+: + { + '#': { help: '', name: 'browser' }, + '#withScript': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } }, + withScript(value): { + script: value, + }, + }, '#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: @@ -1764,6 +1812,10 @@ withCacheBustingQueryParamName(value): { cacheBustingQueryParamName: value, }, + '#withCompression': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate.\nCheck fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`.' } }, + withCompression(value): { + compression: 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: diff --git a/grafanaplane/version.libsonnet b/grafanaplane/version.libsonnet index 4d9bdc0..9e2b94a 100644 --- a/grafanaplane/version.libsonnet +++ b/grafanaplane/version.libsonnet @@ -1 +1 @@ -'0.1.0-0.21.0' +'0.1.0-0.22.0' diff --git a/packages/grafana-namespaced-alerting/CompositeResourceDefinition-RuleGroup.yaml b/packages/grafana-namespaced-alerting/CompositeResourceDefinition-RuleGroup.yaml index 12650e0..04b346c 100644 --- a/packages/grafana-namespaced-alerting/CompositeResourceDefinition-RuleGroup.yaml +++ b/packages/grafana-namespaced-alerting/CompositeResourceDefinition-RuleGroup.yaml @@ -323,8 +323,8 @@ spec: type: string notificationSettings: description: |- - (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) - Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. + (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' to be enabled. (see below for nested schema) + Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. items: properties: contactPoint: @@ -436,6 +436,24 @@ spec: type: string type: object type: array + record: + description: |- + (Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) + Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. + items: + properties: + from: + description: |- + (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. + The ref id of the query node in the data field to use as the source of the metric. + type: string + metric: + description: |- + (String) The name of the metric to write to. + The name of the metric to write to. + type: string + type: object + type: array type: object type: array type: object @@ -721,8 +739,8 @@ spec: type: string notificationSettings: description: |- - (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) - Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' enabled. + (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' to be enabled. (see below for nested schema) + Notification settings for the rule. If specified, it overrides the notification policies. Available since Grafana 10.4, requires feature flag 'alertingSimplifiedRouting' to be enabled. items: properties: contactPoint: @@ -834,6 +852,24 @@ spec: type: string type: object type: array + record: + description: |- + (Block List, Max: 1) Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. (see below for nested schema) + Settings for a recording rule. Available since Grafana 11.2, requires feature flag 'grafanaManagedRecordingRules' to be enabled. + items: + properties: + from: + description: |- + (Number) The number of seconds in the past, relative to when the rule is evaluated, at which the time range begins. + The ref id of the query node in the data field to use as the source of the metric. + type: string + metric: + description: |- + (String) The name of the metric to write to. + The name of the metric to write to. + type: string + type: object + type: array type: object type: array type: object diff --git a/packages/grafana-namespaced-enterprise/CompositeResourceDefinition-DataSourcePermission.yaml b/packages/grafana-namespaced-enterprise/CompositeResourceDefinition-DataSourcePermission.yaml index d527908..a3f526d 100644 --- a/packages/grafana-namespaced-enterprise/CompositeResourceDefinition-DataSourcePermission.yaml +++ b/packages/grafana-namespaced-enterprise/CompositeResourceDefinition-DataSourcePermission.yaml @@ -54,6 +54,79 @@ spec: type: string forProvider: properties: + dataSourceRef: + description: Reference to a DataSource in oss to populate datasourceUid. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataSourceSelector: + description: Selector for a DataSource in oss to populate datasourceUid. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object datasourceUid: description: |- (String) UID of the datasource to apply permissions to. @@ -325,6 +398,79 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: + dataSourceRef: + description: Reference to a DataSource in oss to populate datasourceUid. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + dataSourceSelector: + description: Selector for a DataSource in oss to populate datasourceUid. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object datasourceUid: description: |- (String) UID of the datasource to apply permissions to. @@ -750,9 +896,6 @@ spec: required: - forProvider type: object - x-kubernetes-validations: - - message: spec.forProvider.datasourceUid is a required parameter - rule: "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.datasourceUid) || (has(self.initProvider) && has(self.initProvider.datasourceUid))" type: object type: object served: true \ No newline at end of file diff --git a/packages/grafana-namespaced-enterprise/Composition-DataSourcePermission.yaml b/packages/grafana-namespaced-enterprise/Composition-DataSourcePermission.yaml index b21d5d7..d27b781 100644 --- a/packages/grafana-namespaced-enterprise/Composition-DataSourcePermission.yaml +++ b/packages/grafana-namespaced-enterprise/Composition-DataSourcePermission.yaml @@ -29,6 +29,27 @@ spec: - fromFieldPath: spec.parameters.deletionPolicy toFieldPath: spec.deletionPolicy type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceRef.name + toFieldPath: spec.forProvider.dataSourceRef.name + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceRef.policy.resolution + toFieldPath: spec.forProvider.dataSourceRef.policy.resolution + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceRef.policy.resolve + toFieldPath: spec.forProvider.dataSourceRef.policy.resolve + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceSelector.matchControllerRef + toFieldPath: spec.forProvider.dataSourceSelector.matchControllerRef + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceSelector.matchLabels + toFieldPath: spec.forProvider.dataSourceSelector.matchLabels + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceSelector.policy.resolution + toFieldPath: spec.forProvider.dataSourceSelector.policy.resolution + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.forProvider.dataSourceSelector.policy.resolve + toFieldPath: spec.forProvider.dataSourceSelector.policy.resolve + type: FromCompositeFieldPath - fromFieldPath: spec.parameters.forProvider.datasourceUid toFieldPath: spec.forProvider.datasourceUid type: FromCompositeFieldPath @@ -59,6 +80,27 @@ spec: - fromFieldPath: spec.parameters.forProvider.permissions toFieldPath: spec.forProvider.permissions type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceRef.name + toFieldPath: spec.initProvider.dataSourceRef.name + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceRef.policy.resolution + toFieldPath: spec.initProvider.dataSourceRef.policy.resolution + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceRef.policy.resolve + toFieldPath: spec.initProvider.dataSourceRef.policy.resolve + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceSelector.matchControllerRef + toFieldPath: spec.initProvider.dataSourceSelector.matchControllerRef + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceSelector.matchLabels + toFieldPath: spec.initProvider.dataSourceSelector.matchLabels + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceSelector.policy.resolution + toFieldPath: spec.initProvider.dataSourceSelector.policy.resolution + type: FromCompositeFieldPath + - fromFieldPath: spec.parameters.initProvider.dataSourceSelector.policy.resolve + toFieldPath: spec.initProvider.dataSourceSelector.policy.resolve + type: FromCompositeFieldPath - fromFieldPath: spec.parameters.initProvider.datasourceUid toFieldPath: spec.initProvider.datasourceUid type: FromCompositeFieldPath diff --git a/packages/grafana-namespaced-ml/CompositeResourceDefinition-Job.yaml b/packages/grafana-namespaced-ml/CompositeResourceDefinition-Job.yaml index d2e7a84..699e44e 100644 --- a/packages/grafana-namespaced-ml/CompositeResourceDefinition-Job.yaml +++ b/packages/grafana-namespaced-ml/CompositeResourceDefinition-Job.yaml @@ -150,7 +150,7 @@ spec: hyperParams: additionalProperties: type: string - description: "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[]`." + description: "The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`." type: object x-kubernetes-map-type: granular interval: @@ -281,7 +281,7 @@ spec: hyperParams: additionalProperties: type: string - description: "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[]`." + description: "The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters. Defaults to `map[]`." type: object x-kubernetes-map-type: granular interval: diff --git a/packages/grafana-namespaced-oss/CompositeResourceDefinition-SsoSettings.yaml b/packages/grafana-namespaced-oss/CompositeResourceDefinition-SsoSettings.yaml index e39cc8f..f40b25a 100644 --- a/packages/grafana-namespaced-oss/CompositeResourceDefinition-SsoSettings.yaml +++ b/packages/grafana-namespaced-oss/CompositeResourceDefinition-SsoSettings.yaml @@ -609,6 +609,11 @@ spec: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. type: boolean + entityId: + description: |- + (String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + type: string forceUseGraphApi: description: |- (Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token. @@ -1299,6 +1304,11 @@ spec: (Boolean) Define whether this configuration is enabled for LDAP. Defaults to true. Define whether this configuration is enabled for SAML. Defaults to `true`. type: boolean + entityId: + description: |- + (String) The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + The entity ID is a globally unique identifier for the service provider. It is used to identify the service provider to the identity provider. Defaults to the URL of the Grafana instance if not set. + type: string forceUseGraphApi: description: |- (Boolean) If enabled, Grafana will fetch groups from Microsoft Graph API instead of using the groups claim from the ID token. diff --git a/packages/grafana-namespaced-slo/CompositeResourceDefinition-SLO.yaml b/packages/grafana-namespaced-slo/CompositeResourceDefinition-SLO.yaml index ca86744..46357a1 100644 --- a/packages/grafana-namespaced-slo/CompositeResourceDefinition-SLO.yaml +++ b/packages/grafana-namespaced-slo/CompositeResourceDefinition-SLO.yaml @@ -212,7 +212,7 @@ spec: type: string destinationDatasource: description: |- - (Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) + (Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO items: properties: @@ -291,8 +291,8 @@ spec: type: object uid: description: |- - (String) UID for the Mimir Datasource - UID for the Mimir Datasource + (String) UID for the Datasource + UID for the Datasource type: string type: object type: array @@ -566,7 +566,7 @@ spec: type: string destinationDatasource: description: |- - (Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) + (Block List, Min: 1, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO items: properties: @@ -645,8 +645,8 @@ spec: type: object uid: description: |- - (String) UID for the Mimir Datasource - UID for the Mimir Datasource + (String) UID for the Datasource + UID for the Datasource type: string type: object type: array @@ -919,6 +919,8 @@ spec: x-kubernetes-validations: - message: spec.forProvider.description is a required parameter rule: "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))" + - message: spec.forProvider.destinationDatasource is a required parameter + rule: "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationDatasource) || (has(self.initProvider) && has(self.initProvider.destinationDatasource))" - message: spec.forProvider.name is a required parameter rule: "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))" - message: spec.forProvider.objectives is a required parameter diff --git a/packages/grafana-namespaced-sm/CompositeResourceDefinition-Check.yaml b/packages/grafana-namespaced-sm/CompositeResourceDefinition-Check.yaml index 0fa1f5a..813c4d1 100644 --- a/packages/grafana-namespaced-sm/CompositeResourceDefinition-Check.yaml +++ b/packages/grafana-namespaced-sm/CompositeResourceDefinition-Check.yaml @@ -101,6 +101,17 @@ spec: Check settings. Should contain exactly one nested block. items: properties: + browser: + description: |- + cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) + Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. + items: + properties: + script: + description: (String) + type: string + type: object + type: array dns: description: |- (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) @@ -356,6 +367,11 @@ spec: (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. 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. type: string + compression: + description: |- + (String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. + Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. + type: string failIfBodyMatchesRegexp: description: |- (Set of String) List of regexes. If any match the response body, the check will fail. @@ -909,6 +925,17 @@ spec: Check settings. Should contain exactly one nested block. items: properties: + browser: + description: |- + cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. (see below for nested schema) + Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/. + items: + properties: + script: + description: (String) + type: string + type: object + type: array dns: description: |- (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) @@ -1166,6 +1193,11 @@ spec: (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. 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. type: string + compression: + description: |- + (String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate. + Check fails if the response body is not compressed using this compression algorithm. One of `none`, `identity`, `br`, `gzip`, `deflate`. + type: string failIfBodyMatchesRegexp: description: |- (Set of String) List of regexes. If any match the response body, the check will fail.