From cd8b9576cfcd692ee9e639dff4c8aa058d84319e Mon Sep 17 00:00:00 2001 From: Jeroen Op 't Eynde Date: Wed, 16 Oct 2024 08:55:58 +0000 Subject: [PATCH] update: source github.com/jsonnet-libs/k8s@cf39d15b --- docs/README.md | 2 +- .../0.15/oss/v1alpha1/apiKey.md | 674 --------- .../0.15/slo/v1alpha1/index.md | 9 - .../provider-grafana/{0.15 => 0.18}/README.md | 4 +- .../{0.15 => 0.18}/alerting/index.md | 2 +- .../alerting/v1alpha1/contactPoint.md | 1280 ++++++++++++++++- .../{0.15 => 0.18}/alerting/v1alpha1/index.md | 2 +- .../alerting/v1alpha1/messageTemplate.md | 4 +- .../alerting/v1alpha1/muteTiming.md | 4 +- .../alerting/v1alpha1/notificationPolicy.md | 4 +- .../alerting/v1alpha1/ruleGroup.md | 190 ++- .../{0.15 => 0.18}/cloud/index.md | 2 +- .../cloud/v1alpha1/accessPolicy.md | 2 +- .../cloud/v1alpha1/accessPolicyToken.md | 2 +- .../{0.15 => 0.18}/cloud/v1alpha1/index.md | 3 +- .../cloud/v1alpha1/pluginInstallation.md | 2 +- .../{0.15 => 0.18}/cloud/v1alpha1/stack.md | 2 +- .../cloud/v1alpha1/stackServiceAccount.md | 2 +- .../v1alpha1/stackServiceAccountToken.md | 2 +- .../{0.15 => 0.18}/enterprise/index.md | 2 +- .../v1alpha1/dataSourcePermission.md | 214 +-- .../enterprise/v1alpha1/index.md | 2 +- .../enterprise/v1alpha1/report.md | 306 +--- .../enterprise/v1alpha1/role.md | 2 +- .../enterprise/v1alpha1/roleAssignment.md | 4 +- .../enterprise/v1alpha1/teamExternalGroup.md | 2 +- .../{0.15 => 0.18}/grafana/index.md | 2 +- .../{0.15 => 0.18}/grafana/v1alpha1/index.md | 2 +- .../grafana/v1alpha1/storeConfig.md | 2 +- .../{0.15 => 0.18}/grafana/v1beta1/index.md | 2 +- .../grafana/v1beta1/providerConfig.md | 38 +- .../grafana/v1beta1/providerConfigUsage.md | 2 +- .../{0.15 => 0.18}/ml/index.md | 2 +- .../{0.15 => 0.18}/ml/v1alpha1/holiday.md | 2 +- .../{0.15 => 0.18}/ml/v1alpha1/index.md | 2 +- .../{0.15 => 0.18}/ml/v1alpha1/job.md | 20 +- .../ml/v1alpha1/outlierDetector.md | 20 +- .../{0.15 => 0.18}/oncall/index.md | 2 +- .../oncall/v1alpha1/escalation.md | 566 +++++++- .../oncall/v1alpha1/escalationChain.md | 2 +- .../{0.15 => 0.18}/oncall/v1alpha1/index.md | 5 +- .../oncall/v1alpha1/integration.md | 190 ++- .../oncall/v1alpha1/onCallShift.md | 2 +- .../oncall/v1alpha1/outgoingWebhook.md | 70 +- .../{0.15 => 0.18}/oncall/v1alpha1/route.md | 378 ++++- .../oncall/v1alpha1/schedule.md | 234 ++- .../oncall/v1alpha1/userNotificationRule.md} | 94 +- .../{0.15 => 0.18}/oss/index.md | 2 +- .../{0.15 => 0.18}/oss/v1alpha1/annotation.md | 6 +- .../{0.15 => 0.18}/oss/v1alpha1/dashboard.md | 2 +- .../oss/v1alpha1/dashboardPermission.md | 8 +- .../oss/v1alpha1/dashboardPublic.md | 2 +- .../{0.15 => 0.18}/oss/v1alpha1/dataSource.md | 54 +- .../{0.15 => 0.18}/oss/v1alpha1/folder.md | 6 +- .../oss/v1alpha1/folderPermission.md | 8 +- .../{0.15 => 0.18}/oss/v1alpha1/index.md | 3 +- .../oss/v1alpha1/libraryPanel.md | 28 +- .../oss/v1alpha1/organization.md | 2 +- .../oss/v1alpha1/organizationPreferences.md | 20 +- .../{0.15 => 0.18}/oss/v1alpha1/playlist.md | 2 +- .../oss/v1alpha1/serviceAccount.md | 2 +- .../oss/v1alpha1/serviceAccountPermission.md | 14 +- .../oss/v1alpha1/serviceAccountToken.md | 2 +- .../oss/v1alpha1/ssoSettings.md | 140 +- .../{0.15 => 0.18}/oss/v1alpha1/team.md | 2 +- .../{0.15 => 0.18}/oss/v1alpha1/user.md | 34 +- .../{0.15 => 0.18}/slo/index.md | 2 +- .../0.18/slo/v1alpha1/index.md | 9 + .../{0.15 => 0.18}/slo/v1alpha1/slo.md | 88 +- .../{0.15 => 0.18}/sm/index.md | 2 +- .../{0.15 => 0.18}/sm/v1alpha1/check.md | 434 +++++- .../{0.15 => 0.18}/sm/v1alpha1/index.md | 2 +- .../sm/v1alpha1/installation.md | 40 +- .../{0.15 => 0.18}/sm/v1alpha1/probe.md | 22 +- .../0.15/_gen/oss/v1alpha1/apiKey.libsonnet | 190 --- .../_gen/alerting/main.libsonnet | 0 .../alerting/v1alpha1/contactPoint.libsonnet | 317 ++++ .../_gen/alerting/v1alpha1/main.libsonnet | 0 .../v1alpha1/messageTemplate.libsonnet | 2 +- .../alerting/v1alpha1/muteTiming.libsonnet | 2 +- .../v1alpha1/notificationPolicy.libsonnet | 2 +- .../alerting/v1alpha1/ruleGroup.libsonnet | 56 + .../{0.15 => 0.18}/_gen/cloud/main.libsonnet | 0 .../cloud/v1alpha1/accessPolicy.libsonnet | 0 .../v1alpha1/accessPolicyToken.libsonnet | 0 .../_gen/cloud/v1alpha1/main.libsonnet | 1 - .../v1alpha1/pluginInstallation.libsonnet | 0 .../_gen/cloud/v1alpha1/stack.libsonnet | 0 .../v1alpha1/stackServiceAccount.libsonnet | 0 .../stackServiceAccountToken.libsonnet | 0 .../_gen/enterprise/main.libsonnet | 0 .../v1alpha1/dataSourcePermission.libsonnet | 66 +- .../_gen/enterprise/v1alpha1/main.libsonnet | 0 .../_gen/enterprise/v1alpha1/report.libsonnet | 94 +- .../_gen/enterprise/v1alpha1/role.libsonnet | 0 .../v1alpha1/roleAssignment.libsonnet | 2 +- .../v1alpha1/teamExternalGroup.libsonnet | 0 .../_gen/grafana/main.libsonnet | 0 .../_gen/grafana/v1alpha1/main.libsonnet | 0 .../grafana/v1alpha1/storeConfig.libsonnet | 0 .../_gen/grafana/v1beta1/main.libsonnet | 0 .../grafana/v1beta1/providerConfig.libsonnet | 8 + .../v1beta1/providerConfigUsage.libsonnet | 0 .../{0.15 => 0.18}/_gen/ml/main.libsonnet | 0 .../_gen/ml/v1alpha1/holiday.libsonnet | 0 .../_gen/ml/v1alpha1/job.libsonnet | 4 - .../_gen/ml/v1alpha1/main.libsonnet | 0 .../ml/v1alpha1/outlierDetector.libsonnet | 4 - .../{0.15 => 0.18}/_gen/oncall/main.libsonnet | 0 .../_gen/oncall/v1alpha1/escalation.libsonnet | 168 +++ .../oncall/v1alpha1/escalationChain.libsonnet | 0 .../oncall/v1alpha1/integration.libsonnet | 56 + .../_gen/oncall/v1alpha1/main.libsonnet | 1 + .../oncall/v1alpha1/onCallShift.libsonnet | 0 .../oncall/v1alpha1/outgoingWebhook.libsonnet | 22 +- .../_gen/oncall/v1alpha1/route.libsonnet | 112 ++ .../_gen/oncall/v1alpha1/schedule.libsonnet | 68 +- .../v1alpha1/userNotificationRule.libsonnet} | 42 +- .../{0.15 => 0.18}/_gen/oss/main.libsonnet | 0 .../_gen/oss/v1alpha1/annotation.libsonnet | 4 +- .../_gen/oss/v1alpha1/dashboard.libsonnet | 0 .../v1alpha1/dashboardPermission.libsonnet | 6 +- .../oss/v1alpha1/dashboardPublic.libsonnet | 0 .../_gen/oss/v1alpha1/dataSource.libsonnet | 13 + .../_gen/oss/v1alpha1/folder.libsonnet | 4 +- .../oss/v1alpha1/folderPermission.libsonnet | 6 +- .../_gen/oss/v1alpha1/libraryPanel.libsonnet | 12 +- .../_gen/oss/v1alpha1/main.libsonnet | 1 - .../_gen/oss/v1alpha1/organization.libsonnet | 0 .../organizationPreferences.libsonnet | 4 - .../_gen/oss/v1alpha1/playlist.libsonnet | 0 .../oss/v1alpha1/serviceAccount.libsonnet | 0 .../serviceAccountPermission.libsonnet | 12 +- .../v1alpha1/serviceAccountToken.libsonnet | 0 .../_gen/oss/v1alpha1/ssoSettings.libsonnet | 41 +- .../_gen/oss/v1alpha1/team.libsonnet | 0 .../_gen/oss/v1alpha1/user.libsonnet | 9 + .../{0.15 => 0.18}/_gen/slo/main.libsonnet | 0 .../_gen/slo/v1alpha1/main.libsonnet | 0 .../_gen/slo/v1alpha1/slo.libsonnet | 22 + .../{0.15 => 0.18}/_gen/sm/main.libsonnet | 0 .../_gen/sm/v1alpha1/check.libsonnet | 120 +- .../_gen/sm/v1alpha1/installation.libsonnet | 15 +- .../_gen/sm/v1alpha1/main.libsonnet | 0 .../_gen/sm/v1alpha1/probe.libsonnet | 6 +- provider-grafana/{0.15 => 0.18}/gen.libsonnet | 2 +- .../{0.15 => 0.18}/main.libsonnet | 0 147 files changed, 4958 insertions(+), 1833 deletions(-) delete mode 100644 docs/provider-grafana/0.15/oss/v1alpha1/apiKey.md delete mode 100644 docs/provider-grafana/0.15/slo/v1alpha1/index.md rename docs/provider-grafana/{0.15 => 0.18}/README.md (79%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/contactPoint.md (85%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/index.md (79%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/messageTemplate.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/muteTiming.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/notificationPolicy.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/alerting/v1alpha1/ruleGroup.md (88%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/accessPolicy.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/accessPolicyToken.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/index.md (79%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/pluginInstallation.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/stack.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/stackServiceAccount.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/cloud/v1alpha1/stackServiceAccountToken.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/index.md (54%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/dataSourcePermission.md (85%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/index.md (78%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/report.md (81%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/role.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/roleAssignment.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/enterprise/v1alpha1/teamExternalGroup.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/index.md (65%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/v1alpha1/index.md (54%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/v1alpha1/storeConfig.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/v1beta1/index.md (69%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/v1beta1/providerConfig.md (93%) rename docs/provider-grafana/{0.15 => 0.18}/grafana/v1beta1/providerConfigUsage.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/ml/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/ml/v1alpha1/holiday.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/ml/v1alpha1/index.md (69%) rename docs/provider-grafana/{0.15 => 0.18}/ml/v1alpha1/job.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/ml/v1alpha1/outlierDetector.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/escalation.md (58%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/escalationChain.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/index.md (64%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/integration.md (87%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/onCallShift.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/outgoingWebhook.md (93%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/route.md (67%) rename docs/provider-grafana/{0.15 => 0.18}/oncall/v1alpha1/schedule.md (77%) rename docs/provider-grafana/{0.15/cloud/v1alpha1/apiKey.md => 0.18/oncall/v1alpha1/userNotificationRule.md} (82%) rename docs/provider-grafana/{0.15 => 0.18}/oss/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/annotation.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/dashboard.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/dashboardPermission.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/dashboardPublic.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/dataSource.md (95%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/folder.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/folderPermission.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/index.md (89%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/libraryPanel.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/organization.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/organizationPreferences.md (97%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/playlist.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/serviceAccount.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/serviceAccountPermission.md (98%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/serviceAccountToken.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/ssoSettings.md (94%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/team.md (99%) rename docs/provider-grafana/{0.15 => 0.18}/oss/v1alpha1/user.md (96%) rename docs/provider-grafana/{0.15 => 0.18}/slo/index.md (55%) create mode 100644 docs/provider-grafana/0.18/slo/v1alpha1/index.md rename docs/provider-grafana/{0.15 => 0.18}/slo/v1alpha1/slo.md (96%) rename docs/provider-grafana/{0.15 => 0.18}/sm/index.md (55%) rename docs/provider-grafana/{0.15 => 0.18}/sm/v1alpha1/check.md (89%) rename docs/provider-grafana/{0.15 => 0.18}/sm/v1alpha1/index.md (67%) rename docs/provider-grafana/{0.15 => 0.18}/sm/v1alpha1/installation.md (91%) rename docs/provider-grafana/{0.15 => 0.18}/sm/v1alpha1/probe.md (96%) delete mode 100644 provider-grafana/0.15/_gen/oss/v1alpha1/apiKey.libsonnet rename provider-grafana/{0.15 => 0.18}/_gen/alerting/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/contactPoint.libsonnet (86%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/messageTemplate.libsonnet (99%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/muteTiming.libsonnet (99%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/notificationPolicy.libsonnet (99%) rename provider-grafana/{0.15 => 0.18}/_gen/alerting/v1alpha1/ruleGroup.libsonnet (90%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/accessPolicy.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/accessPolicyToken.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/main.libsonnet (92%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/pluginInstallation.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/stack.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/stackServiceAccount.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/cloud/v1alpha1/stackServiceAccountToken.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet (85%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/report.libsonnet (81%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/role.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/roleAssignment.libsonnet (99%) rename provider-grafana/{0.15 => 0.18}/_gen/enterprise/v1alpha1/teamExternalGroup.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/v1alpha1/storeConfig.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/v1beta1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/v1beta1/providerConfig.libsonnet (93%) rename provider-grafana/{0.15 => 0.18}/_gen/grafana/v1beta1/providerConfigUsage.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/ml/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/ml/v1alpha1/holiday.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/ml/v1alpha1/job.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/ml/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/ml/v1alpha1/outlierDetector.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/escalation.libsonnet (61%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/escalationChain.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/integration.libsonnet (89%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/main.libsonnet (86%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/onCallShift.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet (93%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/route.libsonnet (69%) rename provider-grafana/{0.15 => 0.18}/_gen/oncall/v1alpha1/schedule.libsonnet (78%) rename provider-grafana/{0.15/_gen/cloud/v1alpha1/apiKey.libsonnet => 0.18/_gen/oncall/v1alpha1/userNotificationRule.libsonnet} (81%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/annotation.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/dashboard.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/dashboardPermission.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/dashboardPublic.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/dataSource.libsonnet (95%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/folder.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/folderPermission.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/libraryPanel.libsonnet (98%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/main.libsonnet (96%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/organization.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/organizationPreferences.libsonnet (97%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/playlist.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/serviceAccount.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet (97%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/serviceAccountToken.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/ssoSettings.libsonnet (94%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/team.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/oss/v1alpha1/user.libsonnet (96%) rename provider-grafana/{0.15 => 0.18}/_gen/slo/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/slo/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/slo/v1alpha1/slo.libsonnet (96%) rename provider-grafana/{0.15 => 0.18}/_gen/sm/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/sm/v1alpha1/check.libsonnet (89%) rename provider-grafana/{0.15 => 0.18}/_gen/sm/v1alpha1/installation.libsonnet (91%) rename provider-grafana/{0.15 => 0.18}/_gen/sm/v1alpha1/main.libsonnet (100%) rename provider-grafana/{0.15 => 0.18}/_gen/sm/v1alpha1/probe.libsonnet (96%) rename provider-grafana/{0.15 => 0.18}/gen.libsonnet (89%) rename provider-grafana/{0.15 => 0.18}/main.libsonnet (100%) diff --git a/docs/README.md b/docs/README.md index ac425c6ef4..e00fbd7b13 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,7 +14,7 @@ This library is generated with [`k8s`](https://github.com/jsonnet-libs/k8s). - [provider-helm/0.13](provider-helm/0.13/README.md) - [provider-jet-mongodbatlas/0.3](provider-jet-mongodbatlas/0.3/README.md) - [provider-nop/0.2.0](provider-nop/0.2.0/README.md) -- [provider-grafana/0.15](provider-grafana/0.15/README.md) +- [provider-grafana/0.18](provider-grafana/0.18/README.md) - [upbound-provider-aws/1.6](upbound-provider-aws/1.6/README.md) - [upbound-provider-azure/0.29](upbound-provider-azure/0.29/README.md) - [upbound-provider-azuread/0.11](upbound-provider-azuread/0.11/README.md) diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/apiKey.md b/docs/provider-grafana/0.15/oss/v1alpha1/apiKey.md deleted file mode 100644 index ab457e5069..0000000000 --- a/docs/provider-grafana/0.15/oss/v1alpha1/apiKey.md +++ /dev/null @@ -1,674 +0,0 @@ ---- -permalink: /provider-grafana/0.15/oss/v1alpha1/apiKey/ ---- - -# oss.v1alpha1.apiKey - -"APIKey is the Schema for the APIKeys API. Manages Grafana API Keys. HTTP API https://grafana." - -## Index - -* [`fn new(name)`](#fn-new) -* [`obj metadata`](#obj-metadata) - * [`fn withAnnotations(annotations)`](#fn-metadatawithannotations) - * [`fn withAnnotationsMixin(annotations)`](#fn-metadatawithannotationsmixin) - * [`fn withClusterName(clusterName)`](#fn-metadatawithclustername) - * [`fn withCreationTimestamp(creationTimestamp)`](#fn-metadatawithcreationtimestamp) - * [`fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)`](#fn-metadatawithdeletiongraceperiodseconds) - * [`fn withDeletionTimestamp(deletionTimestamp)`](#fn-metadatawithdeletiontimestamp) - * [`fn withFinalizers(finalizers)`](#fn-metadatawithfinalizers) - * [`fn withFinalizersMixin(finalizers)`](#fn-metadatawithfinalizersmixin) - * [`fn withGenerateName(generateName)`](#fn-metadatawithgeneratename) - * [`fn withGeneration(generation)`](#fn-metadatawithgeneration) - * [`fn withLabels(labels)`](#fn-metadatawithlabels) - * [`fn withLabelsMixin(labels)`](#fn-metadatawithlabelsmixin) - * [`fn withName(name)`](#fn-metadatawithname) - * [`fn withNamespace(namespace)`](#fn-metadatawithnamespace) - * [`fn withOwnerReferences(ownerReferences)`](#fn-metadatawithownerreferences) - * [`fn withOwnerReferencesMixin(ownerReferences)`](#fn-metadatawithownerreferencesmixin) - * [`fn withResourceVersion(resourceVersion)`](#fn-metadatawithresourceversion) - * [`fn withSelfLink(selfLink)`](#fn-metadatawithselflink) - * [`fn withUid(uid)`](#fn-metadatawithuid) -* [`obj spec`](#obj-spec) - * [`fn withDeletionPolicy(deletionPolicy)`](#fn-specwithdeletionpolicy) - * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) - * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) - * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withName(name)`](#fn-specforproviderwithname) - * [`fn withOrgId(orgId)`](#fn-specforproviderwithorgid) - * [`fn withRole(role)`](#fn-specforproviderwithrole) - * [`fn withSecondsToLive(secondsToLive)`](#fn-specforproviderwithsecondstolive) - * [`obj spec.forProvider.organizationRef`](#obj-specforproviderorganizationref) - * [`fn withName(name)`](#fn-specforproviderorganizationrefwithname) - * [`obj spec.forProvider.organizationRef.policy`](#obj-specforproviderorganizationrefpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderorganizationrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderorganizationrefpolicywithresolve) - * [`obj spec.forProvider.organizationSelector`](#obj-specforproviderorganizationselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderorganizationselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderorganizationselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderorganizationselectorwithmatchlabelsmixin) - * [`obj spec.forProvider.organizationSelector.policy`](#obj-specforproviderorganizationselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderorganizationselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderorganizationselectorpolicywithresolve) - * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withName(name)`](#fn-specinitproviderwithname) - * [`fn withOrgId(orgId)`](#fn-specinitproviderwithorgid) - * [`fn withRole(role)`](#fn-specinitproviderwithrole) - * [`fn withSecondsToLive(secondsToLive)`](#fn-specinitproviderwithsecondstolive) - * [`obj spec.initProvider.organizationRef`](#obj-specinitproviderorganizationref) - * [`fn withName(name)`](#fn-specinitproviderorganizationrefwithname) - * [`obj spec.initProvider.organizationRef.policy`](#obj-specinitproviderorganizationrefpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderorganizationrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderorganizationrefpolicywithresolve) - * [`obj spec.initProvider.organizationSelector`](#obj-specinitproviderorganizationselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderorganizationselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderorganizationselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderorganizationselectorwithmatchlabelsmixin) - * [`obj spec.initProvider.organizationSelector.policy`](#obj-specinitproviderorganizationselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderorganizationselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderorganizationselectorpolicywithresolve) - * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) - * [`fn withName(name)`](#fn-specproviderconfigrefwithname) - * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) - * [`fn withResolution(resolution)`](#fn-specproviderconfigrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specproviderconfigrefpolicywithresolve) - * [`obj spec.publishConnectionDetailsTo`](#obj-specpublishconnectiondetailsto) - * [`fn withName(name)`](#fn-specpublishconnectiondetailstowithname) - * [`obj spec.publishConnectionDetailsTo.configRef`](#obj-specpublishconnectiondetailstoconfigref) - * [`fn withName(name)`](#fn-specpublishconnectiondetailstoconfigrefwithname) - * [`obj spec.publishConnectionDetailsTo.configRef.policy`](#obj-specpublishconnectiondetailstoconfigrefpolicy) - * [`fn withResolution(resolution)`](#fn-specpublishconnectiondetailstoconfigrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specpublishconnectiondetailstoconfigrefpolicywithresolve) - * [`obj spec.publishConnectionDetailsTo.metadata`](#obj-specpublishconnectiondetailstometadata) - * [`fn withAnnotations(annotations)`](#fn-specpublishconnectiondetailstometadatawithannotations) - * [`fn withAnnotationsMixin(annotations)`](#fn-specpublishconnectiondetailstometadatawithannotationsmixin) - * [`fn withLabels(labels)`](#fn-specpublishconnectiondetailstometadatawithlabels) - * [`fn withLabelsMixin(labels)`](#fn-specpublishconnectiondetailstometadatawithlabelsmixin) - * [`fn withType(type)`](#fn-specpublishconnectiondetailstometadatawithtype) - * [`obj spec.writeConnectionSecretToRef`](#obj-specwriteconnectionsecrettoref) - * [`fn withName(name)`](#fn-specwriteconnectionsecrettorefwithname) - * [`fn withNamespace(namespace)`](#fn-specwriteconnectionsecrettorefwithnamespace) - -## Fields - -### fn new - -```ts -new(name) -``` - -new returns an instance of APIKey - -## obj metadata - -"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." - -### fn metadata.withAnnotations - -```ts -withAnnotations(annotations) -``` - -"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" - -### fn metadata.withAnnotationsMixin - -```ts -withAnnotationsMixin(annotations) -``` - -"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" - -**Note:** This function appends passed data to existing values - -### fn metadata.withClusterName - -```ts -withClusterName(clusterName) -``` - -"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." - -### fn metadata.withCreationTimestamp - -```ts -withCreationTimestamp(creationTimestamp) -``` - -"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers." - -### fn metadata.withDeletionGracePeriodSeconds - -```ts -withDeletionGracePeriodSeconds(deletionGracePeriodSeconds) -``` - -"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." - -### fn metadata.withDeletionTimestamp - -```ts -withDeletionTimestamp(deletionTimestamp) -``` - -"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers." - -### fn metadata.withFinalizers - -```ts -withFinalizers(finalizers) -``` - -"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." - -### fn metadata.withFinalizersMixin - -```ts -withFinalizersMixin(finalizers) -``` - -"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." - -**Note:** This function appends passed data to existing values - -### fn metadata.withGenerateName - -```ts -withGenerateName(generateName) -``` - -"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" - -### fn metadata.withGeneration - -```ts -withGeneration(generation) -``` - -"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." - -### fn metadata.withLabels - -```ts -withLabels(labels) -``` - -"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" - -### fn metadata.withLabelsMixin - -```ts -withLabelsMixin(labels) -``` - -"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" - -**Note:** This function appends passed data to existing values - -### fn metadata.withName - -```ts -withName(name) -``` - -"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" - -### fn metadata.withNamespace - -```ts -withNamespace(namespace) -``` - -"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" - -### fn metadata.withOwnerReferences - -```ts -withOwnerReferences(ownerReferences) -``` - -"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." - -### fn metadata.withOwnerReferencesMixin - -```ts -withOwnerReferencesMixin(ownerReferences) -``` - -"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." - -**Note:** This function appends passed data to existing values - -### fn metadata.withResourceVersion - -```ts -withResourceVersion(resourceVersion) -``` - -"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" - -### fn metadata.withSelfLink - -```ts -withSelfLink(selfLink) -``` - -"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release." - -### fn metadata.withUid - -```ts -withUid(uid) -``` - -"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" - -## obj spec - -"APIKeySpec defines the desired state of APIKey" - -### fn spec.withDeletionPolicy - -```ts -withDeletionPolicy(deletionPolicy) -``` - -"DeletionPolicy specifies what will happen to the underlying external\nwhen this managed resource is deleted - either \"Delete\" or \"Orphan\" the\nexternal resource.\nThis field is planned to be deprecated in favor of the ManagementPolicies\nfield in a future release. Currently, both could be set independently and\nnon-default values would be honored if the feature flag is enabled.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223" - -### fn spec.withManagementPolicies - -```ts -withManagementPolicies(managementPolicies) -``` - -"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" - -### fn spec.withManagementPoliciesMixin - -```ts -withManagementPoliciesMixin(managementPolicies) -``` - -"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" - -**Note:** This function appends passed data to existing values - -## obj spec.forProvider - - - -### fn spec.forProvider.withName - -```ts -withName(name) -``` - -"(String)" - -### fn spec.forProvider.withOrgId - -```ts -withOrgId(orgId) -``` - -"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used." - -### fn spec.forProvider.withRole - -```ts -withRole(role) -``` - -"(String)" - -### fn spec.forProvider.withSecondsToLive - -```ts -withSecondsToLive(secondsToLive) -``` - -"(Number)" - -## obj spec.forProvider.organizationRef - -"Reference to a Organization in oss to populate orgId." - -### fn spec.forProvider.organizationRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.forProvider.organizationRef.policy - -"Policies for referencing." - -### fn spec.forProvider.organizationRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.organizationRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.forProvider.organizationSelector - -"Selector for a Organization in oss to populate orgId." - -### fn spec.forProvider.organizationSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.forProvider.organizationSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.forProvider.organizationSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.forProvider.organizationSelector.policy - -"Policies for selection." - -### fn spec.forProvider.organizationSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.organizationSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.initProvider - -"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." - -### fn spec.initProvider.withName - -```ts -withName(name) -``` - -"(String)" - -### fn spec.initProvider.withOrgId - -```ts -withOrgId(orgId) -``` - -"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\nThe Organization ID. If not set, the Org ID defined in the provider block will be used." - -### fn spec.initProvider.withRole - -```ts -withRole(role) -``` - -"(String)" - -### fn spec.initProvider.withSecondsToLive - -```ts -withSecondsToLive(secondsToLive) -``` - -"(Number)" - -## obj spec.initProvider.organizationRef - -"Reference to a Organization in oss to populate orgId." - -### fn spec.initProvider.organizationRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.initProvider.organizationRef.policy - -"Policies for referencing." - -### fn spec.initProvider.organizationRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.organizationRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.initProvider.organizationSelector - -"Selector for a Organization in oss to populate orgId." - -### fn spec.initProvider.organizationSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.initProvider.organizationSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.initProvider.organizationSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.initProvider.organizationSelector.policy - -"Policies for selection." - -### fn spec.initProvider.organizationSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.organizationSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.providerConfigRef - -"ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." - -### fn spec.providerConfigRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.providerConfigRef.policy - -"Policies for referencing." - -### fn spec.providerConfigRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.providerConfigRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.publishConnectionDetailsTo - -"PublishConnectionDetailsTo specifies the connection secret config which\ncontains a name, metadata and a reference to secret store config to\nwhich any connection details for this managed resource should be written.\nConnection details frequently include the endpoint, username,\nand password required to connect to the managed resource." - -### fn spec.publishConnectionDetailsTo.withName - -```ts -withName(name) -``` - -"Name is the name of the connection secret." - -## obj spec.publishConnectionDetailsTo.configRef - -"SecretStoreConfigRef specifies which secret store config should be used\nfor this ConnectionSecret." - -### fn spec.publishConnectionDetailsTo.configRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.publishConnectionDetailsTo.configRef.policy - -"Policies for referencing." - -### fn spec.publishConnectionDetailsTo.configRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.publishConnectionDetailsTo.configRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.publishConnectionDetailsTo.metadata - -"Metadata is the metadata for connection secret." - -### fn spec.publishConnectionDetailsTo.metadata.withAnnotations - -```ts -withAnnotations(annotations) -``` - -"Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as \"metadata.annotations\".\n- It is up to Secret Store implementation for others store types." - -### fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin - -```ts -withAnnotationsMixin(annotations) -``` - -"Annotations are the annotations to be added to connection secret.\n- For Kubernetes secrets, this will be used as \"metadata.annotations\".\n- It is up to Secret Store implementation for others store types." - -**Note:** This function appends passed data to existing values - -### fn spec.publishConnectionDetailsTo.metadata.withLabels - -```ts -withLabels(labels) -``` - -"Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as \"metadata.labels\".\n- It is up to Secret Store implementation for others store types." - -### fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin - -```ts -withLabelsMixin(labels) -``` - -"Labels are the labels/tags to be added to connection secret.\n- For Kubernetes secrets, this will be used as \"metadata.labels\".\n- It is up to Secret Store implementation for others store types." - -**Note:** This function appends passed data to existing values - -### fn spec.publishConnectionDetailsTo.metadata.withType - -```ts -withType(type) -``` - -"Type is the SecretType for the connection secret.\n- Only valid for Kubernetes Secret Stores." - -## obj spec.writeConnectionSecretToRef - -"WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.\nThis field is planned to be replaced in a future release in favor of\nPublishConnectionDetailsTo. Currently, both could be set independently\nand connection details would be published to both without affecting\neach other." - -### fn spec.writeConnectionSecretToRef.withName - -```ts -withName(name) -``` - -"Name of the secret." - -### fn spec.writeConnectionSecretToRef.withNamespace - -```ts -withNamespace(namespace) -``` - -"Namespace of the secret." \ No newline at end of file diff --git a/docs/provider-grafana/0.15/slo/v1alpha1/index.md b/docs/provider-grafana/0.15/slo/v1alpha1/index.md deleted file mode 100644 index a48aba05df..0000000000 --- a/docs/provider-grafana/0.15/slo/v1alpha1/index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -permalink: /provider-grafana/0.15/slo/v1alpha1/ ---- - -# slo.v1alpha1 - - - -* [slo](slo.md) \ No newline at end of file diff --git a/docs/provider-grafana/0.15/README.md b/docs/provider-grafana/0.18/README.md similarity index 79% rename from docs/provider-grafana/0.15/README.md rename to docs/provider-grafana/0.18/README.md index db313b525c..8d77a9f639 100644 --- a/docs/provider-grafana/0.15/README.md +++ b/docs/provider-grafana/0.18/README.md @@ -1,11 +1,11 @@ --- -permalink: /provider-grafana/0.15/ +permalink: /provider-grafana/0.18/ --- # crossplane_grafana ```jsonnet -local crossplane_grafana = import "github.com/jsonnet-libs/crossplane-libsonnet/provider-grafana/0.15/main.libsonnet" +local crossplane_grafana = import "github.com/jsonnet-libs/crossplane-libsonnet/provider-grafana/0.18/main.libsonnet" ``` diff --git a/docs/provider-grafana/0.15/alerting/index.md b/docs/provider-grafana/0.18/alerting/index.md similarity index 55% rename from docs/provider-grafana/0.15/alerting/index.md rename to docs/provider-grafana/0.18/alerting/index.md index f2f943e0af..053cb95526 100644 --- a/docs/provider-grafana/0.15/alerting/index.md +++ b/docs/provider-grafana/0.18/alerting/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/alerting/ +permalink: /provider-grafana/0.18/alerting/ --- # alerting diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/contactPoint.md b/docs/provider-grafana/0.18/alerting/v1alpha1/contactPoint.md similarity index 85% rename from docs/provider-grafana/0.15/alerting/v1alpha1/contactPoint.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/contactPoint.md index 8ad77678f4..e2b9c63182 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/contactPoint.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/contactPoint.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/contactPoint/ --- # alerting.v1alpha1.contactPoint @@ -229,6 +229,7 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withSeverity(severity)`](#fn-specforproviderpagerdutywithseverity) * [`fn withSource(source)`](#fn-specforproviderpagerdutywithsource) * [`fn withSummary(summary)`](#fn-specforproviderpagerdutywithsummary) + * [`fn withUrl(url)`](#fn-specforproviderpagerdutywithurl) * [`obj spec.forProvider.pagerduty.integrationKeySecretRef`](#obj-specforproviderpagerdutyintegrationkeysecretref) * [`fn withKey(key)`](#fn-specforproviderpagerdutyintegrationkeysecretrefwithkey) * [`fn withName(name)`](#fn-specforproviderpagerdutyintegrationkeysecretrefwithname) @@ -335,6 +336,7 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specforprovidertelegramwithdisableresolvemessage) * [`fn withDisableWebPagePreview(disableWebPagePreview)`](#fn-specforprovidertelegramwithdisablewebpagepreview) * [`fn withMessage(message)`](#fn-specforprovidertelegramwithmessage) + * [`fn withMessageThreadId(messageThreadId)`](#fn-specforprovidertelegramwithmessagethreadid) * [`fn withParseMode(parseMode)`](#fn-specforprovidertelegramwithparsemode) * [`fn withProtectContent(protectContent)`](#fn-specforprovidertelegramwithprotectcontent) * [`obj spec.forProvider.telegram.settingsSecretRef`](#obj-specforprovidertelegramsettingssecretref) @@ -466,42 +468,80 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`obj spec.initProvider.alertmanager`](#obj-specinitprovideralertmanager) * [`fn withBasicAuthUser(basicAuthUser)`](#fn-specinitprovideralertmanagerwithbasicauthuser) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovideralertmanagerwithdisableresolvemessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovideralertmanagerwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovideralertmanagerwithsettingssecretrefmixin) * [`fn withUrl(url)`](#fn-specinitprovideralertmanagerwithurl) + * [`obj spec.initProvider.alertmanager.basicAuthPasswordSecretRef`](#obj-specinitprovideralertmanagerbasicauthpasswordsecretref) + * [`fn withKey(key)`](#fn-specinitprovideralertmanagerbasicauthpasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovideralertmanagerbasicauthpasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovideralertmanagerbasicauthpasswordsecretrefwithnamespace) * [`obj spec.initProvider.dingding`](#obj-specinitproviderdingding) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderdingdingwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitproviderdingdingwithmessage) * [`fn withMessageType(messageType)`](#fn-specinitproviderdingdingwithmessagetype) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderdingdingwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderdingdingwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderdingdingwithtitle) * [`fn withUrl(url)`](#fn-specinitproviderdingdingwithurl) * [`obj spec.initProvider.discord`](#obj-specinitproviderdiscord) * [`fn withAvatarUrl(avatarUrl)`](#fn-specinitproviderdiscordwithavatarurl) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderdiscordwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitproviderdiscordwithmessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderdiscordwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderdiscordwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderdiscordwithtitle) * [`fn withUseDiscordUsername(useDiscordUsername)`](#fn-specinitproviderdiscordwithusediscordusername) + * [`obj spec.initProvider.discord.urlSecretRef`](#obj-specinitproviderdiscordurlsecretref) + * [`fn withKey(key)`](#fn-specinitproviderdiscordurlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderdiscordurlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderdiscordurlsecretrefwithnamespace) * [`obj spec.initProvider.email`](#obj-specinitprovideremail) * [`fn withAddresses(addresses)`](#fn-specinitprovideremailwithaddresses) * [`fn withAddressesMixin(addresses)`](#fn-specinitprovideremailwithaddressesmixin) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovideremailwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitprovideremailwithmessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovideremailwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovideremailwithsettingssecretrefmixin) * [`fn withSingleEmail(singleEmail)`](#fn-specinitprovideremailwithsingleemail) * [`fn withSubject(subject)`](#fn-specinitprovideremailwithsubject) * [`obj spec.initProvider.googlechat`](#obj-specinitprovidergooglechat) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovidergooglechatwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitprovidergooglechatwithmessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovidergooglechatwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovidergooglechatwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitprovidergooglechatwithtitle) + * [`obj spec.initProvider.googlechat.urlSecretRef`](#obj-specinitprovidergooglechaturlsecretref) + * [`fn withKey(key)`](#fn-specinitprovidergooglechaturlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidergooglechaturlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidergooglechaturlsecretrefwithnamespace) * [`obj spec.initProvider.kafka`](#obj-specinitproviderkafka) * [`fn withApiVersion(apiVersion)`](#fn-specinitproviderkafkawithapiversion) * [`fn withClusterId(clusterId)`](#fn-specinitproviderkafkawithclusterid) * [`fn withDescription(description)`](#fn-specinitproviderkafkawithdescription) * [`fn withDetails(details)`](#fn-specinitproviderkafkawithdetails) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderkafkawithdisableresolvemessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderkafkawithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderkafkawithsettingssecretrefmixin) * [`fn withTopic(topic)`](#fn-specinitproviderkafkawithtopic) * [`fn withUsername(username)`](#fn-specinitproviderkafkawithusername) + * [`obj spec.initProvider.kafka.passwordSecretRef`](#obj-specinitproviderkafkapasswordsecretref) + * [`fn withKey(key)`](#fn-specinitproviderkafkapasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderkafkapasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderkafkapasswordsecretrefwithnamespace) + * [`obj spec.initProvider.kafka.restProxyUrlSecretRef`](#obj-specinitproviderkafkarestproxyurlsecretref) + * [`fn withKey(key)`](#fn-specinitproviderkafkarestproxyurlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderkafkarestproxyurlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderkafkarestproxyurlsecretrefwithnamespace) * [`obj spec.initProvider.line`](#obj-specinitproviderline) * [`fn withDescription(description)`](#fn-specinitproviderlinewithdescription) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderlinewithdisableresolvemessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderlinewithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderlinewithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderlinewithtitle) + * [`obj spec.initProvider.line.tokenSecretRef`](#obj-specinitproviderlinetokensecretref) + * [`fn withKey(key)`](#fn-specinitproviderlinetokensecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderlinetokensecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderlinetokensecretrefwithnamespace) * [`obj spec.initProvider.oncall`](#obj-specinitprovideroncall) * [`fn withAuthorizationScheme(authorizationScheme)`](#fn-specinitprovideroncallwithauthorizationscheme) * [`fn withBasicAuthUser(basicAuthUser)`](#fn-specinitprovideroncallwithbasicauthuser) @@ -509,8 +549,18 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withHttpMethod(httpMethod)`](#fn-specinitprovideroncallwithhttpmethod) * [`fn withMaxAlerts(maxAlerts)`](#fn-specinitprovideroncallwithmaxalerts) * [`fn withMessage(message)`](#fn-specinitprovideroncallwithmessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovideroncallwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovideroncallwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitprovideroncallwithtitle) * [`fn withUrl(url)`](#fn-specinitprovideroncallwithurl) + * [`obj spec.initProvider.oncall.authorizationCredentialsSecretRef`](#obj-specinitprovideroncallauthorizationcredentialssecretref) + * [`fn withKey(key)`](#fn-specinitprovideroncallauthorizationcredentialssecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovideroncallauthorizationcredentialssecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovideroncallauthorizationcredentialssecretrefwithnamespace) + * [`obj spec.initProvider.oncall.basicAuthPasswordSecretRef`](#obj-specinitprovideroncallbasicauthpasswordsecretref) + * [`fn withKey(key)`](#fn-specinitprovideroncallbasicauthpasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovideroncallbasicauthpasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovideroncallbasicauthpasswordsecretrefwithnamespace) * [`obj spec.initProvider.opsgenie`](#obj-specinitprovideropsgenie) * [`fn withAutoClose(autoClose)`](#fn-specinitprovideropsgeniewithautoclose) * [`fn withDescription(description)`](#fn-specinitprovideropsgeniewithdescription) @@ -520,7 +570,13 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withResponders(responders)`](#fn-specinitprovideropsgeniewithresponders) * [`fn withRespondersMixin(responders)`](#fn-specinitprovideropsgeniewithrespondersmixin) * [`fn withSendTagsAs(sendTagsAs)`](#fn-specinitprovideropsgeniewithsendtagsas) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovideropsgeniewithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovideropsgeniewithsettingssecretrefmixin) * [`fn withUrl(url)`](#fn-specinitprovideropsgeniewithurl) + * [`obj spec.initProvider.opsgenie.apiKeySecretRef`](#obj-specinitprovideropsgenieapikeysecretref) + * [`fn withKey(key)`](#fn-specinitprovideropsgenieapikeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovideropsgenieapikeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovideropsgenieapikeysecretrefwithnamespace) * [`obj spec.initProvider.opsgenie.responders`](#obj-specinitprovideropsgenieresponders) * [`fn withId(id)`](#fn-specinitprovideropsgenieresponderswithid) * [`fn withName(name)`](#fn-specinitprovideropsgenieresponderswithname) @@ -547,9 +603,16 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withDetailsMixin(details)`](#fn-specinitproviderpagerdutywithdetailsmixin) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderpagerdutywithdisableresolvemessage) * [`fn withGroup(group)`](#fn-specinitproviderpagerdutywithgroup) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderpagerdutywithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderpagerdutywithsettingssecretrefmixin) * [`fn withSeverity(severity)`](#fn-specinitproviderpagerdutywithseverity) * [`fn withSource(source)`](#fn-specinitproviderpagerdutywithsource) * [`fn withSummary(summary)`](#fn-specinitproviderpagerdutywithsummary) + * [`fn withUrl(url)`](#fn-specinitproviderpagerdutywithurl) + * [`obj spec.initProvider.pagerduty.integrationKeySecretRef`](#obj-specinitproviderpagerdutyintegrationkeysecretref) + * [`fn withKey(key)`](#fn-specinitproviderpagerdutyintegrationkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderpagerdutyintegrationkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderpagerdutyintegrationkeysecretrefwithnamespace) * [`obj spec.initProvider.pushover`](#obj-specinitproviderpushover) * [`fn withDevice(device)`](#fn-specinitproviderpushoverwithdevice) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderpushoverwithdisableresolvemessage) @@ -559,9 +622,19 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withOkSound(okSound)`](#fn-specinitproviderpushoverwithoksound) * [`fn withPriority(priority)`](#fn-specinitproviderpushoverwithpriority) * [`fn withRetry(retry)`](#fn-specinitproviderpushoverwithretry) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderpushoverwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderpushoverwithsettingssecretrefmixin) * [`fn withSound(sound)`](#fn-specinitproviderpushoverwithsound) * [`fn withTitle(title)`](#fn-specinitproviderpushoverwithtitle) * [`fn withUploadImage(uploadImage)`](#fn-specinitproviderpushoverwithuploadimage) + * [`obj spec.initProvider.pushover.apiTokenSecretRef`](#obj-specinitproviderpushoverapitokensecretref) + * [`fn withKey(key)`](#fn-specinitproviderpushoverapitokensecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderpushoverapitokensecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderpushoverapitokensecretrefwithnamespace) + * [`obj spec.initProvider.pushover.userKeySecretRef`](#obj-specinitproviderpushoveruserkeysecretref) + * [`fn withKey(key)`](#fn-specinitproviderpushoveruserkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderpushoveruserkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderpushoveruserkeysecretrefwithnamespace) * [`obj spec.initProvider.sensugo`](#obj-specinitprovidersensugo) * [`fn withCheck(check)`](#fn-specinitprovidersensugowithcheck) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovidersensugowithdisableresolvemessage) @@ -569,7 +642,13 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withHandler(handler)`](#fn-specinitprovidersensugowithhandler) * [`fn withMessage(message)`](#fn-specinitprovidersensugowithmessage) * [`fn withNamespace(namespace)`](#fn-specinitprovidersensugowithnamespace) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovidersensugowithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovidersensugowithsettingssecretrefmixin) * [`fn withUrl(url)`](#fn-specinitprovidersensugowithurl) + * [`obj spec.initProvider.sensugo.apiKeySecretRef`](#obj-specinitprovidersensugoapikeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersensugoapikeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersensugoapikeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersensugoapikeysecretrefwithnamespace) * [`obj spec.initProvider.slack`](#obj-specinitproviderslack) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderslackwithdisableresolvemessage) * [`fn withEndpointUrl(endpointUrl)`](#fn-specinitproviderslackwithendpointurl) @@ -579,9 +658,19 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withMentionGroups(mentionGroups)`](#fn-specinitproviderslackwithmentiongroups) * [`fn withMentionUsers(mentionUsers)`](#fn-specinitproviderslackwithmentionusers) * [`fn withRecipient(recipient)`](#fn-specinitproviderslackwithrecipient) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderslackwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderslackwithsettingssecretrefmixin) * [`fn withText(text)`](#fn-specinitproviderslackwithtext) * [`fn withTitle(title)`](#fn-specinitproviderslackwithtitle) * [`fn withUsername(username)`](#fn-specinitproviderslackwithusername) + * [`obj spec.initProvider.slack.tokenSecretRef`](#obj-specinitproviderslacktokensecretref) + * [`fn withKey(key)`](#fn-specinitproviderslacktokensecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderslacktokensecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderslacktokensecretrefwithnamespace) + * [`obj spec.initProvider.slack.urlSecretRef`](#obj-specinitproviderslackurlsecretref) + * [`fn withKey(key)`](#fn-specinitproviderslackurlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderslackurlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderslackurlsecretrefwithnamespace) * [`obj spec.initProvider.sns`](#obj-specinitprovidersns) * [`fn withAssumeRoleArn(assumeRoleArn)`](#fn-specinitprovidersnswithassumerolearn) * [`fn withAuthProvider(authProvider)`](#fn-specinitprovidersnswithauthprovider) @@ -589,31 +678,62 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovidersnswithdisableresolvemessage) * [`fn withExternalId(externalId)`](#fn-specinitprovidersnswithexternalid) * [`fn withMessageFormat(messageFormat)`](#fn-specinitprovidersnswithmessageformat) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovidersnswithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovidersnswithsettingssecretrefmixin) * [`fn withSubject(subject)`](#fn-specinitprovidersnswithsubject) * [`fn withTopic(topic)`](#fn-specinitprovidersnswithtopic) + * [`obj spec.initProvider.sns.accessKeySecretRef`](#obj-specinitprovidersnsaccesskeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersnsaccesskeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersnsaccesskeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersnsaccesskeysecretrefwithnamespace) + * [`obj spec.initProvider.sns.secretKeySecretRef`](#obj-specinitprovidersnssecretkeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersnssecretkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersnssecretkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersnssecretkeysecretrefwithnamespace) * [`obj spec.initProvider.teams`](#obj-specinitproviderteams) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderteamswithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitproviderteamswithmessage) * [`fn withSectionTitle(sectionTitle)`](#fn-specinitproviderteamswithsectiontitle) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderteamswithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderteamswithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderteamswithtitle) + * [`obj spec.initProvider.teams.urlSecretRef`](#obj-specinitproviderteamsurlsecretref) + * [`fn withKey(key)`](#fn-specinitproviderteamsurlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderteamsurlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderteamsurlsecretrefwithnamespace) * [`obj spec.initProvider.telegram`](#obj-specinitprovidertelegram) * [`fn withChatId(chatId)`](#fn-specinitprovidertelegramwithchatid) * [`fn withDisableNotifications(disableNotifications)`](#fn-specinitprovidertelegramwithdisablenotifications) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovidertelegramwithdisableresolvemessage) * [`fn withDisableWebPagePreview(disableWebPagePreview)`](#fn-specinitprovidertelegramwithdisablewebpagepreview) * [`fn withMessage(message)`](#fn-specinitprovidertelegramwithmessage) + * [`fn withMessageThreadId(messageThreadId)`](#fn-specinitprovidertelegramwithmessagethreadid) * [`fn withParseMode(parseMode)`](#fn-specinitprovidertelegramwithparsemode) * [`fn withProtectContent(protectContent)`](#fn-specinitprovidertelegramwithprotectcontent) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovidertelegramwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovidertelegramwithsettingssecretrefmixin) + * [`obj spec.initProvider.telegram.tokenSecretRef`](#obj-specinitprovidertelegramtokensecretref) + * [`fn withKey(key)`](#fn-specinitprovidertelegramtokensecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidertelegramtokensecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidertelegramtokensecretrefwithnamespace) * [`obj spec.initProvider.threema`](#obj-specinitproviderthreema) * [`fn withDescription(description)`](#fn-specinitproviderthreemawithdescription) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderthreemawithdisableresolvemessage) * [`fn withGatewayId(gatewayId)`](#fn-specinitproviderthreemawithgatewayid) * [`fn withRecipientId(recipientId)`](#fn-specinitproviderthreemawithrecipientid) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderthreemawithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderthreemawithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderthreemawithtitle) + * [`obj spec.initProvider.threema.apiSecretSecretRef`](#obj-specinitproviderthreemaapisecretsecretref) + * [`fn withKey(key)`](#fn-specinitproviderthreemaapisecretsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderthreemaapisecretsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderthreemaapisecretsecretrefwithnamespace) * [`obj spec.initProvider.victorops`](#obj-specinitprovidervictorops) * [`fn withDescription(description)`](#fn-specinitprovidervictoropswithdescription) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitprovidervictoropswithdisableresolvemessage) * [`fn withMessageType(messageType)`](#fn-specinitprovidervictoropswithmessagetype) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitprovidervictoropswithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitprovidervictoropswithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitprovidervictoropswithtitle) * [`fn withUrl(url)`](#fn-specinitprovidervictoropswithurl) * [`obj spec.initProvider.webex`](#obj-specinitproviderwebex) @@ -621,6 +741,12 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderwebexwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitproviderwebexwithmessage) * [`fn withRoomId(roomId)`](#fn-specinitproviderwebexwithroomid) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderwebexwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderwebexwithsettingssecretrefmixin) + * [`obj spec.initProvider.webex.tokenSecretRef`](#obj-specinitproviderwebextokensecretref) + * [`fn withKey(key)`](#fn-specinitproviderwebextokensecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderwebextokensecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderwebextokensecretrefwithnamespace) * [`obj spec.initProvider.webhook`](#obj-specinitproviderwebhook) * [`fn withAuthorizationScheme(authorizationScheme)`](#fn-specinitproviderwebhookwithauthorizationscheme) * [`fn withBasicAuthUser(basicAuthUser)`](#fn-specinitproviderwebhookwithbasicauthuser) @@ -628,16 +754,36 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/contactPoint/ * [`fn withHttpMethod(httpMethod)`](#fn-specinitproviderwebhookwithhttpmethod) * [`fn withMaxAlerts(maxAlerts)`](#fn-specinitproviderwebhookwithmaxalerts) * [`fn withMessage(message)`](#fn-specinitproviderwebhookwithmessage) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderwebhookwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderwebhookwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderwebhookwithtitle) * [`fn withUrl(url)`](#fn-specinitproviderwebhookwithurl) + * [`obj spec.initProvider.webhook.authorizationCredentialsSecretRef`](#obj-specinitproviderwebhookauthorizationcredentialssecretref) + * [`fn withKey(key)`](#fn-specinitproviderwebhookauthorizationcredentialssecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderwebhookauthorizationcredentialssecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderwebhookauthorizationcredentialssecretrefwithnamespace) + * [`obj spec.initProvider.webhook.basicAuthPasswordSecretRef`](#obj-specinitproviderwebhookbasicauthpasswordsecretref) + * [`fn withKey(key)`](#fn-specinitproviderwebhookbasicauthpasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderwebhookbasicauthpasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderwebhookbasicauthpasswordsecretrefwithnamespace) * [`obj spec.initProvider.wecom`](#obj-specinitproviderwecom) * [`fn withAgentId(agentId)`](#fn-specinitproviderwecomwithagentid) * [`fn withCorpId(corpId)`](#fn-specinitproviderwecomwithcorpid) * [`fn withDisableResolveMessage(disableResolveMessage)`](#fn-specinitproviderwecomwithdisableresolvemessage) * [`fn withMessage(message)`](#fn-specinitproviderwecomwithmessage) * [`fn withMsgType(msgType)`](#fn-specinitproviderwecomwithmsgtype) + * [`fn withSettingsSecretRef(settingsSecretRef)`](#fn-specinitproviderwecomwithsettingssecretref) + * [`fn withSettingsSecretRefMixin(settingsSecretRef)`](#fn-specinitproviderwecomwithsettingssecretrefmixin) * [`fn withTitle(title)`](#fn-specinitproviderwecomwithtitle) * [`fn withToUser(toUser)`](#fn-specinitproviderwecomwithtouser) + * [`obj spec.initProvider.wecom.secretSecretRef`](#obj-specinitproviderwecomsecretsecretref) + * [`fn withKey(key)`](#fn-specinitproviderwecomsecretsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderwecomsecretsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderwecomsecretsecretrefwithnamespace) + * [`obj spec.initProvider.wecom.urlSecretRef`](#obj-specinitproviderwecomurlsecretref) + * [`fn withKey(key)`](#fn-specinitproviderwecomurlsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderwecomurlsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderwecomurlsecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -2346,6 +2492,14 @@ withSummary(summary) "(String) The templated summary message of the event.\nThe templated summary message of the event." +### fn spec.forProvider.pagerduty.withUrl + +```ts +withUrl(url) +``` + +"(String) The URL of the Alertmanager instance.\nThe URL to send API requests to" + ## obj spec.forProvider.pagerduty.integrationKeySecretRef "(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key." @@ -3110,6 +3264,14 @@ withMessage(message) "(String) The templated content of the message.\nThe templated content of the message." +### fn spec.forProvider.telegram.withMessageThreadId + +```ts +withMessageThreadId(messageThreadId) +``` + +"(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to." + ### fn spec.forProvider.telegram.withParseMode ```ts @@ -4120,6 +4282,24 @@ withDisableResolveMessage(disableResolveMessage) "(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`." +### fn spec.initProvider.alertmanager.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.alertmanager.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.alertmanager.withUrl ```ts @@ -4128,6 +4308,34 @@ withUrl(url) "(String) The URL of the Alertmanager instance.\nThe URL of the Alertmanager instance." +## obj spec.initProvider.alertmanager.basicAuthPasswordSecretRef + +"(String, Sensitive) The password component of the basic auth credentials to use.\nThe password component of the basic auth credentials to use." + +### fn spec.initProvider.alertmanager.basicAuthPasswordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.alertmanager.basicAuthPasswordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.alertmanager.basicAuthPasswordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.dingding "(Block Set) A contact point that sends notifications to DingDing. (see below for nested schema)\nA contact point that sends notifications to DingDing." @@ -4156,6 +4364,24 @@ withMessageType(messageType) "either 'link' or 'actionCard'\nThe format of message to send - either 'link' or 'actionCard'" +### fn spec.initProvider.dingding.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.dingding.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.dingding.withTitle ```ts @@ -4200,6 +4426,24 @@ withMessage(message) "(String) The templated content of the message.\nThe templated content of the message. Defaults to “." +### fn spec.initProvider.discord.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.discord.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.discord.withTitle ```ts @@ -4216,6 +4460,34 @@ withUseDiscordUsername(useDiscordUsername) "(Boolean) Whether to use the bot account's plain username instead of \"Grafana.\" Defaults to false.\nWhether to use the bot account's plain username instead of \"Grafana.\" Defaults to `false`." +## obj spec.initProvider.discord.urlSecretRef + +"(String) The URL of the Alertmanager instance.\nThe discord webhook URL." + +### fn spec.initProvider.discord.urlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.discord.urlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.discord.urlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.email "(Block Set) A contact point that sends notifications to an email address. (see below for nested schema)\nA contact point that sends notifications to an email address." @@ -4254,6 +4526,24 @@ withMessage(message) "(String) The templated content of the message.\nThe templated content of the email. Defaults to “." +### fn spec.initProvider.email.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.email.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.email.withSingleEmail ```ts @@ -4290,6 +4580,24 @@ withMessage(message) "(String) The templated content of the message.\nThe templated content of the message." +### fn spec.initProvider.googlechat.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.googlechat.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.googlechat.withTitle ```ts @@ -4298,6 +4606,34 @@ withTitle(title) "(String) The templated title of the message.\nThe templated content of the title." +## obj spec.initProvider.googlechat.urlSecretRef + +"(String) The URL of the Alertmanager instance.\nThe Google Chat webhook URL." + +### fn spec.initProvider.googlechat.urlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.googlechat.urlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.googlechat.urlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.kafka "(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\nA contact point that publishes notifications to Apache Kafka topics." @@ -4342,6 +4678,24 @@ withDisableResolveMessage(disableResolveMessage) "(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`." +### fn spec.initProvider.kafka.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.kafka.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.kafka.withTopic ```ts @@ -4358,6 +4712,62 @@ withUsername(username) "(String) The user name to use when making a call to the Kafka REST Proxy\nThe user name to use when making a call to the Kafka REST Proxy" +## obj spec.initProvider.kafka.passwordSecretRef + +"(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\nThe password to use when making a call to the Kafka REST Proxy" + +### fn spec.initProvider.kafka.passwordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.kafka.passwordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.kafka.passwordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.kafka.restProxyUrlSecretRef + +"(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\nThe URL of the Kafka REST proxy to send requests to." + +### fn spec.initProvider.kafka.restProxyUrlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.kafka.restProxyUrlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.kafka.restProxyUrlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.line "(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\nA contact point that sends notifications to LINE.me." @@ -4378,6 +4788,24 @@ withDisableResolveMessage(disableResolveMessage) "(Boolean) Whether to disable sending resolve messages. Defaults to false.\nWhether to disable sending resolve messages. Defaults to `false`." +### fn spec.initProvider.line.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.line.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.line.withTitle ```ts @@ -4386,6 +4814,34 @@ withTitle(title) "(String) The templated title of the message.\nThe templated title of the message." +## obj spec.initProvider.line.tokenSecretRef + +"(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client." + +### fn spec.initProvider.line.tokenSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.line.tokenSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.line.tokenSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.oncall "Call. (see below for nested schema)\nA contact point that sends notifications to Grafana On-Call." @@ -4438,13 +4894,31 @@ withMessage(message) "(String) The templated content of the message.\nCustom message. You can use template variables." -### fn spec.initProvider.oncall.withTitle +### fn spec.initProvider.oncall.withSettingsSecretRef ```ts -withTitle(title) +withSettingsSecretRef(settingsSecretRef) ``` -"(String) The templated title of the message.\nTemplated title of the message." + + +### fn spec.initProvider.oncall.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + +### fn spec.initProvider.oncall.withTitle + +```ts +withTitle(title) +``` + +"(String) The templated title of the message.\nTemplated title of the message." ### fn spec.initProvider.oncall.withUrl @@ -4454,6 +4928,62 @@ withUrl(url) "(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to." +## obj spec.initProvider.oncall.authorizationCredentialsSecretRef + +"attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters." + +### fn spec.initProvider.oncall.authorizationCredentialsSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.oncall.authorizationCredentialsSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.oncall.authorizationCredentialsSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.oncall.basicAuthPasswordSecretRef + +"(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used." + +### fn spec.initProvider.oncall.basicAuthPasswordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.oncall.basicAuthPasswordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.oncall.basicAuthPasswordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.opsgenie "(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\nA contact point that sends notifications to OpsGenie." @@ -4524,6 +5054,24 @@ withSendTagsAs(sendTagsAs) "(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags." +### fn spec.initProvider.opsgenie.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.opsgenie.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.opsgenie.withUrl ```ts @@ -4532,6 +5080,34 @@ withUrl(url) "(String) The URL of the Alertmanager instance.\nAllows customization of the OpsGenie API URL." +## obj spec.initProvider.opsgenie.apiKeySecretRef + +"(String, Sensitive) The OpsGenie API key to use.\nThe OpsGenie API key to use." + +### fn spec.initProvider.opsgenie.apiKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.opsgenie.apiKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.opsgenie.apiKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.opsgenie.responders "(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+." @@ -4720,6 +5296,24 @@ withGroup(group) "(String) The group to which the provided component belongs to.\nThe group to which the provided component belongs to." +### fn spec.initProvider.pagerduty.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.pagerduty.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.pagerduty.withSeverity ```ts @@ -4744,6 +5338,42 @@ withSummary(summary) "(String) The templated summary message of the event.\nThe templated summary message of the event." +### fn spec.initProvider.pagerduty.withUrl + +```ts +withUrl(url) +``` + +"(String) The URL of the Alertmanager instance.\nThe URL to send API requests to" + +## obj spec.initProvider.pagerduty.integrationKeySecretRef + +"(String, Sensitive) The PagerDuty API key.\nThe PagerDuty API key." + +### fn spec.initProvider.pagerduty.integrationKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.pagerduty.integrationKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.pagerduty.integrationKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.pushover "(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\nA contact point that sends notifications to Pushover." @@ -4812,6 +5442,24 @@ withRetry(retry) "(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\nHow often, in seconds, the Pushover servers will send the same notification to the user." +### fn spec.initProvider.pushover.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.pushover.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.pushover.withSound ```ts @@ -4836,6 +5484,62 @@ withUploadImage(uploadImage) "(Boolean) Whether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications.\nWhether to send images in the notification or not. Default is true. Requires Grafana to be configured to send images in notifications." +## obj spec.initProvider.pushover.apiTokenSecretRef + +"(String, Sensitive) The Pushover API token.\nThe Pushover API token." + +### fn spec.initProvider.pushover.apiTokenSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.pushover.apiTokenSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.pushover.apiTokenSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.pushover.userKeySecretRef + +"(String, Sensitive) The Pushover user key.\nThe Pushover user key." + +### fn spec.initProvider.pushover.userKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.pushover.userKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.pushover.userKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.sensugo "(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\nA contact point that sends notifications to SensuGo." @@ -4888,6 +5592,24 @@ withNamespace(namespace) "(String) The namespace in which the check resides.\nThe namespace in which the check resides." +### fn spec.initProvider.sensugo.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.sensugo.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.sensugo.withUrl ```ts @@ -4896,6 +5618,34 @@ withUrl(url) "(String) The URL of the Alertmanager instance.\nThe SensuGo URL to send requests to." +## obj spec.initProvider.sensugo.apiKeySecretRef + +"(String, Sensitive) The OpsGenie API key to use.\nThe SensuGo API key." + +### fn spec.initProvider.sensugo.apiKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.sensugo.apiKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.sensugo.apiKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.slack "(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\nA contact point that sends notifications to Slack." @@ -4964,30 +5714,104 @@ withRecipient(recipient) "(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to." -### fn spec.initProvider.slack.withText +### fn spec.initProvider.slack.withSettingsSecretRef ```ts -withText(text) +withSettingsSecretRef(settingsSecretRef) ``` -"(String) Templated content of the message.\nTemplated content of the message." -### fn spec.initProvider.slack.withTitle + +### fn spec.initProvider.slack.withSettingsSecretRefMixin ```ts -withTitle(title) +withSettingsSecretRefMixin(settingsSecretRef) ``` -"(String) The templated title of the message.\nTemplated title of the message." -### fn spec.initProvider.slack.withUsername -```ts +**Note:** This function appends passed data to existing values + +### fn spec.initProvider.slack.withText + +```ts +withText(text) +``` + +"(String) Templated content of the message.\nTemplated content of the message." + +### fn spec.initProvider.slack.withTitle + +```ts +withTitle(title) +``` + +"(String) The templated title of the message.\nTemplated title of the message." + +### fn spec.initProvider.slack.withUsername + +```ts withUsername(username) ``` "(String) The user name to use when making a call to the Kafka REST Proxy\nUsername for the bot to use." +## obj spec.initProvider.slack.tokenSecretRef + +"(String, Sensitive) The bearer token used to authorize the client.\nA Slack API token,for sending messages directly without the webhook method." + +### fn spec.initProvider.slack.tokenSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.slack.tokenSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.slack.tokenSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.slack.urlSecretRef + +"(String) The URL of the Alertmanager instance.\nA Slack webhook URL,for sending messages via the webhook method." + +### fn spec.initProvider.slack.urlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.slack.urlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.slack.urlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.sns "(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana." @@ -5040,6 +5864,24 @@ withMessageFormat(messageFormat) "(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`." +### fn spec.initProvider.sns.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.sns.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.sns.withSubject ```ts @@ -5056,6 +5898,62 @@ withTopic(topic) "(String) The name of the Kafka topic to publish to.\nThe Amazon SNS topic to send notifications to." +## obj spec.initProvider.sns.accessKeySecretRef + +"(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\nAWS access key ID used to authenticate with Amazon SNS." + +### fn spec.initProvider.sns.accessKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.sns.accessKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.sns.accessKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.sns.secretKeySecretRef + +"(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\nAWS secret access key used to authenticate with Amazon SNS." + +### fn spec.initProvider.sns.secretKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.sns.secretKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.sns.secretKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.teams "(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\nA contact point that sends notifications to Microsoft Teams." @@ -5084,6 +5982,24 @@ withSectionTitle(sectionTitle) "(String) The templated subtitle for each message section.\nThe templated subtitle for each message section." +### fn spec.initProvider.teams.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.teams.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.teams.withTitle ```ts @@ -5092,6 +6008,34 @@ withTitle(title) "(String) The templated title of the message.\nThe templated title of the message." +## obj spec.initProvider.teams.urlSecretRef + +"(String) The URL of the Alertmanager instance.\nA Teams webhook URL." + +### fn spec.initProvider.teams.urlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.teams.urlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.teams.urlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.telegram "(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\nA contact point that sends notifications to Telegram." @@ -5136,6 +6080,14 @@ withMessage(message) "(String) The templated content of the message.\nThe templated content of the message." +### fn spec.initProvider.telegram.withMessageThreadId + +```ts +withMessageThreadId(messageThreadId) +``` + +"(String) The ID of the message thread to send the message to.\nThe ID of the message thread to send the message to." + ### fn spec.initProvider.telegram.withParseMode ```ts @@ -5152,6 +6104,52 @@ withProtectContent(protectContent) "(Boolean) When set it protects the contents of the message from forwarding and saving.\nWhen set it protects the contents of the message from forwarding and saving." +### fn spec.initProvider.telegram.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.telegram.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.telegram.tokenSecretRef + +"(String, Sensitive) The bearer token used to authorize the client.\nThe Telegram bot token." + +### fn spec.initProvider.telegram.tokenSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.telegram.tokenSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.telegram.tokenSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.threema "(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\nA contact point that sends notifications to Threema." @@ -5188,6 +6186,24 @@ withRecipientId(recipientId) "(String) The ID of the recipient of the message.\nThe ID of the recipient of the message." +### fn spec.initProvider.threema.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.threema.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.threema.withTitle ```ts @@ -5196,6 +6212,34 @@ withTitle(title) "(String) The templated title of the message.\nThe templated title of the message." +## obj spec.initProvider.threema.apiSecretSecretRef + +"(String, Sensitive) The Threema API key.\nThe Threema API key." + +### fn spec.initProvider.threema.apiSecretSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.threema.apiSecretSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.threema.apiSecretSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.victorops "(Block Set) A contact point that sends notifications to VictorOps (now known as Splunk OnCall). (see below for nested schema)\nA contact point that sends notifications to VictorOps (now known as Splunk OnCall)." @@ -5224,6 +6268,24 @@ withMessageType(messageType) "either 'link' or 'actionCard'\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`." +### fn spec.initProvider.victorops.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.victorops.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.victorops.withTitle ```ts @@ -5276,6 +6338,52 @@ withRoomId(roomId) "(String) ID of the Webex Teams room where to send the messages.\nID of the Webex Teams room where to send the messages." +### fn spec.initProvider.webex.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.webex.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.webex.tokenSecretRef + +"(String, Sensitive) The bearer token used to authorize the client.\nThe bearer token used to authorize the client." + +### fn spec.initProvider.webex.tokenSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.webex.tokenSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.webex.tokenSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.webhook "(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config" @@ -5328,6 +6436,24 @@ withMessage(message) "(String) The templated content of the message.\nCustom message. You can use template variables." +### fn spec.initProvider.webhook.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.webhook.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.webhook.withTitle ```ts @@ -5344,6 +6470,62 @@ withUrl(url) "(String) The URL of the Alertmanager instance.\nThe URL to send webhook requests to." +## obj spec.initProvider.webhook.authorizationCredentialsSecretRef + +"attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters." + +### fn spec.initProvider.webhook.authorizationCredentialsSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.webhook.authorizationCredentialsSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.webhook.authorizationCredentialsSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.webhook.basicAuthPasswordSecretRef + +"(String, Sensitive) The password component of the basic auth credentials to use.\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used." + +### fn spec.initProvider.webhook.basicAuthPasswordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.webhook.basicAuthPasswordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.webhook.basicAuthPasswordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.wecom "(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\nA contact point that sends notifications to WeCom." @@ -5388,6 +6570,24 @@ withMsgType(msgType) "(String) The type of them message. Supported: markdown, text. Default: text.\nThe type of them message. Supported: markdown, text. Default: text." +### fn spec.initProvider.wecom.withSettingsSecretRef + +```ts +withSettingsSecretRef(settingsSecretRef) +``` + + + +### fn spec.initProvider.wecom.withSettingsSecretRefMixin + +```ts +withSettingsSecretRefMixin(settingsSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.wecom.withTitle ```ts @@ -5404,6 +6604,62 @@ withToUser(toUser) "(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all." +## obj spec.initProvider.wecom.secretSecretRef + +"(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP." + +### fn spec.initProvider.wecom.secretSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.wecom.secretSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.wecom.secretSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.wecom.urlSecretRef + +"(String) The URL of the Alertmanager instance.\nThe WeCom webhook URL. Required if using GroupRobot." + +### fn spec.initProvider.wecom.urlSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.wecom.urlSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.wecom.urlSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/index.md b/docs/provider-grafana/0.18/alerting/v1alpha1/index.md similarity index 79% rename from docs/provider-grafana/0.15/alerting/v1alpha1/index.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/index.md index 05359c7de9..f283080e4d 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/ --- # alerting.v1alpha1 diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/messageTemplate.md b/docs/provider-grafana/0.18/alerting/v1alpha1/messageTemplate.md similarity index 98% rename from docs/provider-grafana/0.15/alerting/v1alpha1/messageTemplate.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/messageTemplate.md index b99f376998..fd2cb456e3 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/messageTemplate.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/messageTemplate.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/messageTemplate/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/messageTemplate/ --- # alerting.v1alpha1.messageTemplate -"MessageTemplate is the Schema for the MessageTemplates API. Manages Grafana Alerting message templates. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/template-notifications/create-notification-templates/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#templates This resource requires Grafana 9.1.0 or later." +"MessageTemplate is the Schema for the MessageTemplates API. Manages Grafana Alerting message templates. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/template-notifications/create-notification-templates/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#templates This resource requires Grafana 9.1.0 or later." ## Index diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/muteTiming.md b/docs/provider-grafana/0.18/alerting/v1alpha1/muteTiming.md similarity index 99% rename from docs/provider-grafana/0.15/alerting/v1alpha1/muteTiming.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/muteTiming.md index 56d2d380f5..593c6ea85c 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/muteTiming.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/muteTiming.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/muteTiming/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/muteTiming/ --- # alerting.v1alpha1.muteTiming -"MuteTiming is the Schema for the MuteTimings API. Manages Grafana Alerting mute timings. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/mute-timings/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#mute-timings This resource requires Grafana 9.1.0 or later." +"MuteTiming is the Schema for the MuteTimings API. Manages Grafana Alerting mute timings. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/mute-timings/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#mute-timings This resource requires Grafana 9.1.0 or later." ## Index diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/notificationPolicy.md b/docs/provider-grafana/0.18/alerting/v1alpha1/notificationPolicy.md similarity index 99% rename from docs/provider-grafana/0.15/alerting/v1alpha1/notificationPolicy.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/notificationPolicy.md index addd6d665c..e04ff3e645 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/notificationPolicy.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/notificationPolicy.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/notificationPolicy/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/notificationPolicy/ --- # alerting.v1alpha1.notificationPolicy -"NotificationPolicy is the Schema for the NotificationPolicys API. Sets the global notification policy for Grafana. !> This resource manages the entire notification policy tree, and will overwrite any existing policies. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ This resource requires Grafana 9.1.0 or later." +"NotificationPolicy is the Schema for the NotificationPolicys API. Sets the global notification policy for Grafana. !> This resource manages the entire notification policy tree, and will overwrite any existing policies. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ This resource requires Grafana 9.1.0 or later." ## Index diff --git a/docs/provider-grafana/0.15/alerting/v1alpha1/ruleGroup.md b/docs/provider-grafana/0.18/alerting/v1alpha1/ruleGroup.md similarity index 88% rename from docs/provider-grafana/0.15/alerting/v1alpha1/ruleGroup.md rename to docs/provider-grafana/0.18/alerting/v1alpha1/ruleGroup.md index c593bc6c92..510bd6d17d 100644 --- a/docs/provider-grafana/0.15/alerting/v1alpha1/ruleGroup.md +++ b/docs/provider-grafana/0.18/alerting/v1alpha1/ruleGroup.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/alerting/v1alpha1/ruleGroup/ +permalink: /provider-grafana/0.18/alerting/v1alpha1/ruleGroup/ --- # alerting.v1alpha1.ruleGroup @@ -99,6 +99,18 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/ruleGroup/ * [`fn withMuteTimings(muteTimings)`](#fn-specforproviderrulenotificationsettingswithmutetimings) * [`fn withMuteTimingsMixin(muteTimings)`](#fn-specforproviderrulenotificationsettingswithmutetimingsmixin) * [`fn withRepeatInterval(repeatInterval)`](#fn-specforproviderrulenotificationsettingswithrepeatinterval) + * [`obj spec.forProvider.rule.notificationSettings.contactPointRef`](#obj-specforproviderrulenotificationsettingscontactpointref) + * [`fn withName(name)`](#fn-specforproviderrulenotificationsettingscontactpointrefwithname) + * [`obj spec.forProvider.rule.notificationSettings.contactPointRef.policy`](#obj-specforproviderrulenotificationsettingscontactpointrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderrulenotificationsettingscontactpointrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderrulenotificationsettingscontactpointrefpolicywithresolve) + * [`obj spec.forProvider.rule.notificationSettings.contactPointSelector`](#obj-specforproviderrulenotificationsettingscontactpointselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderrulenotificationsettingscontactpointselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderrulenotificationsettingscontactpointselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderrulenotificationsettingscontactpointselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.rule.notificationSettings.contactPointSelector.policy`](#obj-specforproviderrulenotificationsettingscontactpointselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderrulenotificationsettingscontactpointselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderrulenotificationsettingscontactpointselectorpolicywithresolve) * [`obj spec.initProvider`](#obj-specinitprovider) * [`fn withDisableProvenance(disableProvenance)`](#fn-specinitproviderwithdisableprovenance) * [`fn withFolderUid(folderUid)`](#fn-specinitproviderwithfolderuid) @@ -165,6 +177,18 @@ permalink: /provider-grafana/0.15/alerting/v1alpha1/ruleGroup/ * [`fn withMuteTimings(muteTimings)`](#fn-specinitproviderrulenotificationsettingswithmutetimings) * [`fn withMuteTimingsMixin(muteTimings)`](#fn-specinitproviderrulenotificationsettingswithmutetimingsmixin) * [`fn withRepeatInterval(repeatInterval)`](#fn-specinitproviderrulenotificationsettingswithrepeatinterval) + * [`obj spec.initProvider.rule.notificationSettings.contactPointRef`](#obj-specinitproviderrulenotificationsettingscontactpointref) + * [`fn withName(name)`](#fn-specinitproviderrulenotificationsettingscontactpointrefwithname) + * [`obj spec.initProvider.rule.notificationSettings.contactPointRef.policy`](#obj-specinitproviderrulenotificationsettingscontactpointrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderrulenotificationsettingscontactpointrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderrulenotificationsettingscontactpointrefpolicywithresolve) + * [`obj spec.initProvider.rule.notificationSettings.contactPointSelector`](#obj-specinitproviderrulenotificationsettingscontactpointselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderrulenotificationsettingscontactpointselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderrulenotificationsettingscontactpointselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderrulenotificationsettingscontactpointselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.rule.notificationSettings.contactPointSelector.policy`](#obj-specinitproviderrulenotificationsettingscontactpointselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderrulenotificationsettingscontactpointselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderrulenotificationsettingscontactpointselectorpolicywithresolve) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -887,6 +911,88 @@ withRepeatInterval(repeatInterval) "sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours." +## obj spec.forProvider.rule.notificationSettings.contactPointRef + +"Reference to a ContactPoint in alerting to populate contactPoint." + +### fn spec.forProvider.rule.notificationSettings.contactPointRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.rule.notificationSettings.contactPointRef.policy + +"Policies for referencing." + +### fn spec.forProvider.rule.notificationSettings.contactPointRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.rule.notificationSettings.contactPointRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.rule.notificationSettings.contactPointSelector + +"Selector for a ContactPoint in alerting to populate contactPoint." + +### fn spec.forProvider.rule.notificationSettings.contactPointSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.rule.notificationSettings.contactPointSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.rule.notificationSettings.contactPointSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.rule.notificationSettings.contactPointSelector.policy + +"Policies for selection." + +### fn spec.forProvider.rule.notificationSettings.contactPointSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.rule.notificationSettings.contactPointSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.initProvider "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." @@ -1383,6 +1489,88 @@ withRepeatInterval(repeatInterval) "sending a notification if an alert is still firing. Default is 4 hours.\nMinimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours." +## obj spec.initProvider.rule.notificationSettings.contactPointRef + +"Reference to a ContactPoint in alerting to populate contactPoint." + +### fn spec.initProvider.rule.notificationSettings.contactPointRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.rule.notificationSettings.contactPointRef.policy + +"Policies for referencing." + +### fn spec.initProvider.rule.notificationSettings.contactPointRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.rule.notificationSettings.contactPointRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.rule.notificationSettings.contactPointSelector + +"Selector for a ContactPoint in alerting to populate contactPoint." + +### fn spec.initProvider.rule.notificationSettings.contactPointSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.rule.notificationSettings.contactPointSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.rule.notificationSettings.contactPointSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.rule.notificationSettings.contactPointSelector.policy + +"Policies for selection." + +### fn spec.initProvider.rule.notificationSettings.contactPointSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.rule.notificationSettings.contactPointSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/cloud/index.md b/docs/provider-grafana/0.18/cloud/index.md similarity index 55% rename from docs/provider-grafana/0.15/cloud/index.md rename to docs/provider-grafana/0.18/cloud/index.md index 53e010b42a..36a063321c 100644 --- a/docs/provider-grafana/0.15/cloud/index.md +++ b/docs/provider-grafana/0.18/cloud/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/ +permalink: /provider-grafana/0.18/cloud/ --- # cloud diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicy.md b/docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicy.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicy.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicy.md index a6e02951b0..a792430f72 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicy.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicy.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/accessPolicy/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/accessPolicy/ --- # cloud.v1alpha1.accessPolicy diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicyToken.md b/docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicyToken.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicyToken.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicyToken.md index b3cfda5c31..7009bfab4e 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/accessPolicyToken.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/accessPolicyToken.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/accessPolicyToken/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/accessPolicyToken/ --- # cloud.v1alpha1.accessPolicyToken diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/index.md b/docs/provider-grafana/0.18/cloud/v1alpha1/index.md similarity index 79% rename from docs/provider-grafana/0.15/cloud/v1alpha1/index.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/index.md index dd1f1c5977..1dcfed6fa6 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/ --- # cloud.v1alpha1 @@ -8,7 +8,6 @@ permalink: /provider-grafana/0.15/cloud/v1alpha1/ * [accessPolicy](accessPolicy.md) * [accessPolicyToken](accessPolicyToken.md) -* [apiKey](apiKey.md) * [pluginInstallation](pluginInstallation.md) * [stack](stack.md) * [stackServiceAccount](stackServiceAccount.md) diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/pluginInstallation.md b/docs/provider-grafana/0.18/cloud/v1alpha1/pluginInstallation.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/pluginInstallation.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/pluginInstallation.md index 137510d23c..6d8ada194c 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/pluginInstallation.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/pluginInstallation.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/pluginInstallation/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/pluginInstallation/ --- # cloud.v1alpha1.pluginInstallation diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/stack.md b/docs/provider-grafana/0.18/cloud/v1alpha1/stack.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/stack.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/stack.md index 309e4e0782..9091fa0655 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/stack.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/stack.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/stack/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/stack/ --- # cloud.v1alpha1.stack diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccount.md b/docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccount.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccount.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccount.md index bb259fbb7a..49fce06e2f 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccount.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccount.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/stackServiceAccount/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/stackServiceAccount/ --- # cloud.v1alpha1.stackServiceAccount diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccountToken.md b/docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccountToken.md similarity index 99% rename from docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccountToken.md rename to docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccountToken.md index 1a74086405..3d13e29ad9 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/stackServiceAccountToken.md +++ b/docs/provider-grafana/0.18/cloud/v1alpha1/stackServiceAccountToken.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/stackServiceAccountToken/ +permalink: /provider-grafana/0.18/cloud/v1alpha1/stackServiceAccountToken/ --- # cloud.v1alpha1.stackServiceAccountToken diff --git a/docs/provider-grafana/0.15/enterprise/index.md b/docs/provider-grafana/0.18/enterprise/index.md similarity index 54% rename from docs/provider-grafana/0.15/enterprise/index.md rename to docs/provider-grafana/0.18/enterprise/index.md index 4805921d5a..7a50e3d638 100644 --- a/docs/provider-grafana/0.15/enterprise/index.md +++ b/docs/provider-grafana/0.18/enterprise/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/enterprise/ +permalink: /provider-grafana/0.18/enterprise/ --- # enterprise diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/dataSourcePermission.md similarity index 85% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/dataSourcePermission.md index dba2fe983c..d1819b5819 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/dataSourcePermission.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/dataSourcePermission/ --- # enterprise.v1alpha1.dataSourcePermission -"DataSourcePermission is the Schema for the DataSourcePermissions API. Manages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed." +"DataSourcePermission is the Schema for the DataSourcePermissions API. Manages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed. HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/" ## Index @@ -34,23 +34,10 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withDatasourceId(datasourceId)`](#fn-specforproviderwithdatasourceid) * [`fn withDatasourceUid(datasourceUid)`](#fn-specforproviderwithdatasourceuid) * [`fn withOrgId(orgId)`](#fn-specforproviderwithorgid) * [`fn withPermissions(permissions)`](#fn-specforproviderwithpermissions) * [`fn withPermissionsMixin(permissions)`](#fn-specforproviderwithpermissionsmixin) - * [`obj spec.forProvider.dataSourceRef`](#obj-specforproviderdatasourceref) - * [`fn withName(name)`](#fn-specforproviderdatasourcerefwithname) - * [`obj spec.forProvider.dataSourceRef.policy`](#obj-specforproviderdatasourcerefpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderdatasourcerefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderdatasourcerefpolicywithresolve) - * [`obj spec.forProvider.dataSourceSelector`](#obj-specforproviderdatasourceselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderdatasourceselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderdatasourceselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderdatasourceselectorwithmatchlabelsmixin) - * [`obj spec.forProvider.dataSourceSelector.policy`](#obj-specforproviderdatasourceselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderdatasourceselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderdatasourceselectorpolicywithresolve) * [`obj spec.forProvider.organizationRef`](#obj-specforproviderorganizationref) * [`fn withName(name)`](#fn-specforproviderorganizationrefwithname) * [`obj spec.forProvider.organizationRef.policy`](#obj-specforproviderorganizationrefpolicy) @@ -93,23 +80,10 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/dataSourcePermission/ * [`fn withResolution(resolution)`](#fn-specforproviderpermissionsuserselectorpolicywithresolution) * [`fn withResolve(resolve)`](#fn-specforproviderpermissionsuserselectorpolicywithresolve) * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withDatasourceId(datasourceId)`](#fn-specinitproviderwithdatasourceid) * [`fn withDatasourceUid(datasourceUid)`](#fn-specinitproviderwithdatasourceuid) * [`fn withOrgId(orgId)`](#fn-specinitproviderwithorgid) * [`fn withPermissions(permissions)`](#fn-specinitproviderwithpermissions) * [`fn withPermissionsMixin(permissions)`](#fn-specinitproviderwithpermissionsmixin) - * [`obj spec.initProvider.dataSourceRef`](#obj-specinitproviderdatasourceref) - * [`fn withName(name)`](#fn-specinitproviderdatasourcerefwithname) - * [`obj spec.initProvider.dataSourceRef.policy`](#obj-specinitproviderdatasourcerefpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderdatasourcerefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderdatasourcerefpolicywithresolve) - * [`obj spec.initProvider.dataSourceSelector`](#obj-specinitproviderdatasourceselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderdatasourceselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderdatasourceselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderdatasourceselectorwithmatchlabelsmixin) - * [`obj spec.initProvider.dataSourceSelector.policy`](#obj-specinitproviderdatasourceselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderdatasourceselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderdatasourceselectorpolicywithresolve) * [`obj spec.initProvider.organizationRef`](#obj-specinitproviderorganizationref) * [`fn withName(name)`](#fn-specinitproviderorganizationrefwithname) * [`obj spec.initProvider.organizationRef.policy`](#obj-specinitproviderorganizationrefpolicy) @@ -381,14 +355,6 @@ withManagementPoliciesMixin(managementPolicies) -### fn spec.forProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"(String, Deprecated) Deprecated: Use datasource_uid instead.\nDeprecated: Use `datasource_uid` instead." - ### fn spec.forProvider.withDatasourceUid ```ts @@ -423,88 +389,6 @@ withPermissionsMixin(permissions) **Note:** This function appends passed data to existing values -## obj spec.forProvider.dataSourceRef - -"Reference to a DataSource in oss to populate datasourceId." - -### fn spec.forProvider.dataSourceRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.forProvider.dataSourceRef.policy - -"Policies for referencing." - -### fn spec.forProvider.dataSourceRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.dataSourceRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.forProvider.dataSourceSelector - -"Selector for a DataSource in oss to populate datasourceId." - -### fn spec.forProvider.dataSourceSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.forProvider.dataSourceSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.forProvider.dataSourceSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.forProvider.dataSourceSelector.policy - -"Policies for selection." - -### fn spec.forProvider.dataSourceSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.dataSourceSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - ## obj spec.forProvider.organizationRef "Reference to a Organization in oss to populate orgId." @@ -597,7 +481,7 @@ withResolve(resolve) withBuiltInRole(builtInRole) ``` -"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.forProvider.permissions.withPermission @@ -791,14 +675,6 @@ withResolve(resolve) "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." -### fn spec.initProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"(String, Deprecated) Deprecated: Use datasource_uid instead.\nDeprecated: Use `datasource_uid` instead." - ### fn spec.initProvider.withDatasourceUid ```ts @@ -833,88 +709,6 @@ withPermissionsMixin(permissions) **Note:** This function appends passed data to existing values -## obj spec.initProvider.dataSourceRef - -"Reference to a DataSource in oss to populate datasourceId." - -### fn spec.initProvider.dataSourceRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.initProvider.dataSourceRef.policy - -"Policies for referencing." - -### fn spec.initProvider.dataSourceRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.dataSourceRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.initProvider.dataSourceSelector - -"Selector for a DataSource in oss to populate datasourceId." - -### fn spec.initProvider.dataSourceSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.initProvider.dataSourceSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.initProvider.dataSourceSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.initProvider.dataSourceSelector.policy - -"Policies for selection." - -### fn spec.initProvider.dataSourceSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.dataSourceSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - ## obj spec.initProvider.organizationRef "Reference to a Organization in oss to populate orgId." @@ -1007,7 +801,7 @@ withResolve(resolve) withBuiltInRole(builtInRole) ``` -"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.initProvider.permissions.withPermission diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/index.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/index.md similarity index 78% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/index.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/index.md index 38528b41da..48aebb1532 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/ --- # enterprise.v1alpha1 diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/report.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/report.md similarity index 81% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/report.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/report.md index 0de11e87aa..a0d3f75923 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/report.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/report.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/report/ --- # enterprise.v1alpha1.report @@ -34,7 +34,6 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withDashboardUid(dashboardUid)`](#fn-specforproviderwithdashboarduid) * [`fn withDashboards(dashboards)`](#fn-specforproviderwithdashboards) * [`fn withDashboardsMixin(dashboards)`](#fn-specforproviderwithdashboardsmixin) * [`fn withFormats(formats)`](#fn-specforproviderwithformats) @@ -51,20 +50,6 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ * [`fn withReplyTo(replyTo)`](#fn-specforproviderwithreplyto) * [`fn withSchedule(schedule)`](#fn-specforproviderwithschedule) * [`fn withScheduleMixin(schedule)`](#fn-specforproviderwithschedulemixin) - * [`fn withTimeRange(timeRange)`](#fn-specforproviderwithtimerange) - * [`fn withTimeRangeMixin(timeRange)`](#fn-specforproviderwithtimerangemixin) - * [`obj spec.forProvider.dashboardRef`](#obj-specforproviderdashboardref) - * [`fn withName(name)`](#fn-specforproviderdashboardrefwithname) - * [`obj spec.forProvider.dashboardRef.policy`](#obj-specforproviderdashboardrefpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderdashboardrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderdashboardrefpolicywithresolve) - * [`obj spec.forProvider.dashboardSelector`](#obj-specforproviderdashboardselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderdashboardselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderdashboardselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderdashboardselectorwithmatchlabelsmixin) - * [`obj spec.forProvider.dashboardSelector.policy`](#obj-specforproviderdashboardselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specforproviderdashboardselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specforproviderdashboardselectorpolicywithresolve) * [`obj spec.forProvider.dashboards`](#obj-specforproviderdashboards) * [`fn withReportVariables(reportVariables)`](#fn-specforproviderdashboardswithreportvariables) * [`fn withReportVariablesMixin(reportVariables)`](#fn-specforproviderdashboardswithreportvariablesmixin) @@ -94,11 +79,7 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ * [`fn withStartTime(startTime)`](#fn-specforproviderschedulewithstarttime) * [`fn withTimezone(timezone)`](#fn-specforproviderschedulewithtimezone) * [`fn withWorkdaysOnly(workdaysOnly)`](#fn-specforproviderschedulewithworkdaysonly) - * [`obj spec.forProvider.timeRange`](#obj-specforprovidertimerange) - * [`fn withFrom(from)`](#fn-specforprovidertimerangewithfrom) - * [`fn withTo(to)`](#fn-specforprovidertimerangewithto) * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withDashboardUid(dashboardUid)`](#fn-specinitproviderwithdashboarduid) * [`fn withDashboards(dashboards)`](#fn-specinitproviderwithdashboards) * [`fn withDashboardsMixin(dashboards)`](#fn-specinitproviderwithdashboardsmixin) * [`fn withFormats(formats)`](#fn-specinitproviderwithformats) @@ -115,20 +96,6 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ * [`fn withReplyTo(replyTo)`](#fn-specinitproviderwithreplyto) * [`fn withSchedule(schedule)`](#fn-specinitproviderwithschedule) * [`fn withScheduleMixin(schedule)`](#fn-specinitproviderwithschedulemixin) - * [`fn withTimeRange(timeRange)`](#fn-specinitproviderwithtimerange) - * [`fn withTimeRangeMixin(timeRange)`](#fn-specinitproviderwithtimerangemixin) - * [`obj spec.initProvider.dashboardRef`](#obj-specinitproviderdashboardref) - * [`fn withName(name)`](#fn-specinitproviderdashboardrefwithname) - * [`obj spec.initProvider.dashboardRef.policy`](#obj-specinitproviderdashboardrefpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderdashboardrefpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderdashboardrefpolicywithresolve) - * [`obj spec.initProvider.dashboardSelector`](#obj-specinitproviderdashboardselector) - * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderdashboardselectorwithmatchcontrollerref) - * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderdashboardselectorwithmatchlabels) - * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderdashboardselectorwithmatchlabelsmixin) - * [`obj spec.initProvider.dashboardSelector.policy`](#obj-specinitproviderdashboardselectorpolicy) - * [`fn withResolution(resolution)`](#fn-specinitproviderdashboardselectorpolicywithresolution) - * [`fn withResolve(resolve)`](#fn-specinitproviderdashboardselectorpolicywithresolve) * [`obj spec.initProvider.dashboards`](#obj-specinitproviderdashboards) * [`fn withReportVariables(reportVariables)`](#fn-specinitproviderdashboardswithreportvariables) * [`fn withReportVariablesMixin(reportVariables)`](#fn-specinitproviderdashboardswithreportvariablesmixin) @@ -158,9 +125,6 @@ permalink: /provider-grafana/0.15/enterprise/v1alpha1/report/ * [`fn withStartTime(startTime)`](#fn-specinitproviderschedulewithstarttime) * [`fn withTimezone(timezone)`](#fn-specinitproviderschedulewithtimezone) * [`fn withWorkdaysOnly(workdaysOnly)`](#fn-specinitproviderschedulewithworkdaysonly) - * [`obj spec.initProvider.timeRange`](#obj-specinitprovidertimerange) - * [`fn withFrom(from)`](#fn-specinitprovidertimerangewithfrom) - * [`fn withTo(to)`](#fn-specinitprovidertimerangewithto) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -391,14 +355,6 @@ withManagementPoliciesMixin(managementPolicies) -### fn spec.forProvider.withDashboardUid - -```ts -withDashboardUid(dashboardUid) -``` - -"(String, Deprecated) Dashboard to be sent in the report.\nDashboard to be sent in the report." - ### fn spec.forProvider.withDashboards ```ts @@ -535,106 +491,6 @@ withScheduleMixin(schedule) **Note:** This function appends passed data to existing values -### fn spec.forProvider.withTimeRange - -```ts -withTimeRange(timeRange) -``` - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -### fn spec.forProvider.withTimeRangeMixin - -```ts -withTimeRangeMixin(timeRange) -``` - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -**Note:** This function appends passed data to existing values - -## obj spec.forProvider.dashboardRef - -"Reference to a Dashboard in oss to populate dashboardUid." - -### fn spec.forProvider.dashboardRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.forProvider.dashboardRef.policy - -"Policies for referencing." - -### fn spec.forProvider.dashboardRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.dashboardRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.forProvider.dashboardSelector - -"Selector for a Dashboard in oss to populate dashboardUid." - -### fn spec.forProvider.dashboardSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.forProvider.dashboardSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.forProvider.dashboardSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.forProvider.dashboardSelector.policy - -"Policies for selection." - -### fn spec.forProvider.dashboardSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.forProvider.dashboardSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - ## obj spec.forProvider.dashboards "(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report" @@ -663,7 +519,7 @@ withReportVariablesMixin(reportVariables) withTimeRange(timeRange) ``` -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." ### fn spec.forProvider.dashboards.withTimeRangeMixin @@ -671,7 +527,7 @@ withTimeRange(timeRange) withTimeRangeMixin(timeRange) ``` -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." **Note:** This function appends passed data to existing values @@ -685,7 +541,7 @@ withUid(uid) ## obj spec.forProvider.dashboards.timeRange -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." ### fn spec.forProvider.dashboards.timeRange.withFrom @@ -845,38 +701,10 @@ withWorkdaysOnly(workdaysOnly) "(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`." -## obj spec.forProvider.timeRange - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -### fn spec.forProvider.timeRange.withFrom - -```ts -withFrom(from) -``` - -"(String) Start of the time range.\nStart of the time range." - -### fn spec.forProvider.timeRange.withTo - -```ts -withTo(to) -``` - -"(String) End of the time range.\nEnd of the time range." - ## obj spec.initProvider "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." -### fn spec.initProvider.withDashboardUid - -```ts -withDashboardUid(dashboardUid) -``` - -"(String, Deprecated) Dashboard to be sent in the report.\nDashboard to be sent in the report." - ### fn spec.initProvider.withDashboards ```ts @@ -1013,106 +841,6 @@ withScheduleMixin(schedule) **Note:** This function appends passed data to existing values -### fn spec.initProvider.withTimeRange - -```ts -withTimeRange(timeRange) -``` - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -### fn spec.initProvider.withTimeRangeMixin - -```ts -withTimeRangeMixin(timeRange) -``` - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -**Note:** This function appends passed data to existing values - -## obj spec.initProvider.dashboardRef - -"Reference to a Dashboard in oss to populate dashboardUid." - -### fn spec.initProvider.dashboardRef.withName - -```ts -withName(name) -``` - -"Name of the referenced object." - -## obj spec.initProvider.dashboardRef.policy - -"Policies for referencing." - -### fn spec.initProvider.dashboardRef.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.dashboardRef.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - -## obj spec.initProvider.dashboardSelector - -"Selector for a Dashboard in oss to populate dashboardUid." - -### fn spec.initProvider.dashboardSelector.withMatchControllerRef - -```ts -withMatchControllerRef(matchControllerRef) -``` - -"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." - -### fn spec.initProvider.dashboardSelector.withMatchLabels - -```ts -withMatchLabels(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -### fn spec.initProvider.dashboardSelector.withMatchLabelsMixin - -```ts -withMatchLabelsMixin(matchLabels) -``` - -"MatchLabels ensures an object with matching labels is selected." - -**Note:** This function appends passed data to existing values - -## obj spec.initProvider.dashboardSelector.policy - -"Policies for selection." - -### fn spec.initProvider.dashboardSelector.policy.withResolution - -```ts -withResolution(resolution) -``` - -"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." - -### fn spec.initProvider.dashboardSelector.policy.withResolve - -```ts -withResolve(resolve) -``` - -"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." - ## obj spec.initProvider.dashboards "(Block List) List of dashboards to render into the report (see below for nested schema)\nList of dashboards to render into the report" @@ -1141,7 +869,7 @@ withReportVariablesMixin(reportVariables) withTimeRange(timeRange) ``` -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." ### fn spec.initProvider.dashboards.withTimeRangeMixin @@ -1149,7 +877,7 @@ withTimeRange(timeRange) withTimeRangeMixin(timeRange) ``` -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." **Note:** This function appends passed data to existing values @@ -1163,7 +891,7 @@ withUid(uid) ## obj spec.initProvider.dashboards.timeRange -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." +"(Block List, Max: 1) Time range of the report. (see below for nested schema)\nTime range of the report." ### fn spec.initProvider.dashboards.timeRange.withFrom @@ -1323,26 +1051,6 @@ withWorkdaysOnly(workdaysOnly) "(Boolean) Whether to send the report only on work days. Defaults to false.\nWhether to send the report only on work days. Defaults to `false`." -## obj spec.initProvider.timeRange - -"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\nTime range of the report." - -### fn spec.initProvider.timeRange.withFrom - -```ts -withFrom(from) -``` - -"(String) Start of the time range.\nStart of the time range." - -### fn spec.initProvider.timeRange.withTo - -```ts -withTo(to) -``` - -"(String) End of the time range.\nEnd of the time range." - ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/role.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/role.md similarity index 99% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/role.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/role.md index 74c0d8f4b6..815cdd07d5 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/role.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/role.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/role/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/role/ --- # enterprise.v1alpha1.role diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/roleAssignment.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/roleAssignment.md similarity index 99% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/roleAssignment.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/roleAssignment.md index ae514298c9..f8f8645505 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/roleAssignment.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/roleAssignment.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/roleAssignment/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/roleAssignment/ --- # enterprise.v1alpha1.roleAssignment -"RoleAssignment is the Schema for the RoleAssignments API. Manages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed. Note: This resource is available only with Grafana Enterprise 9.2+." +"RoleAssignment is the Schema for the RoleAssignments API. Manages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed. Note: This resource is available only with Grafana Enterprise 9.2+. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/access_control/" ## Index diff --git a/docs/provider-grafana/0.15/enterprise/v1alpha1/teamExternalGroup.md b/docs/provider-grafana/0.18/enterprise/v1alpha1/teamExternalGroup.md similarity index 99% rename from docs/provider-grafana/0.15/enterprise/v1alpha1/teamExternalGroup.md rename to docs/provider-grafana/0.18/enterprise/v1alpha1/teamExternalGroup.md index e24057563f..ed4d02d817 100644 --- a/docs/provider-grafana/0.15/enterprise/v1alpha1/teamExternalGroup.md +++ b/docs/provider-grafana/0.18/enterprise/v1alpha1/teamExternalGroup.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/enterprise/v1alpha1/teamExternalGroup/ +permalink: /provider-grafana/0.18/enterprise/v1alpha1/teamExternalGroup/ --- # enterprise.v1alpha1.teamExternalGroup diff --git a/docs/provider-grafana/0.15/grafana/index.md b/docs/provider-grafana/0.18/grafana/index.md similarity index 65% rename from docs/provider-grafana/0.15/grafana/index.md rename to docs/provider-grafana/0.18/grafana/index.md index 00d12f50a9..a143ab10a6 100644 --- a/docs/provider-grafana/0.15/grafana/index.md +++ b/docs/provider-grafana/0.18/grafana/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/ +permalink: /provider-grafana/0.18/grafana/ --- # grafana diff --git a/docs/provider-grafana/0.15/grafana/v1alpha1/index.md b/docs/provider-grafana/0.18/grafana/v1alpha1/index.md similarity index 54% rename from docs/provider-grafana/0.15/grafana/v1alpha1/index.md rename to docs/provider-grafana/0.18/grafana/v1alpha1/index.md index 75fd923944..2a758c2caf 100644 --- a/docs/provider-grafana/0.15/grafana/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/grafana/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/v1alpha1/ +permalink: /provider-grafana/0.18/grafana/v1alpha1/ --- # grafana.v1alpha1 diff --git a/docs/provider-grafana/0.15/grafana/v1alpha1/storeConfig.md b/docs/provider-grafana/0.18/grafana/v1alpha1/storeConfig.md similarity index 99% rename from docs/provider-grafana/0.15/grafana/v1alpha1/storeConfig.md rename to docs/provider-grafana/0.18/grafana/v1alpha1/storeConfig.md index 31f1a90f00..10804aeb3c 100644 --- a/docs/provider-grafana/0.15/grafana/v1alpha1/storeConfig.md +++ b/docs/provider-grafana/0.18/grafana/v1alpha1/storeConfig.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/v1alpha1/storeConfig/ +permalink: /provider-grafana/0.18/grafana/v1alpha1/storeConfig/ --- # grafana.v1alpha1.storeConfig diff --git a/docs/provider-grafana/0.15/grafana/v1beta1/index.md b/docs/provider-grafana/0.18/grafana/v1beta1/index.md similarity index 69% rename from docs/provider-grafana/0.15/grafana/v1beta1/index.md rename to docs/provider-grafana/0.18/grafana/v1beta1/index.md index f2c782f39e..933362c1f2 100644 --- a/docs/provider-grafana/0.15/grafana/v1beta1/index.md +++ b/docs/provider-grafana/0.18/grafana/v1beta1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/v1beta1/ +permalink: /provider-grafana/0.18/grafana/v1beta1/ --- # grafana.v1beta1 diff --git a/docs/provider-grafana/0.15/grafana/v1beta1/providerConfig.md b/docs/provider-grafana/0.18/grafana/v1beta1/providerConfig.md similarity index 93% rename from docs/provider-grafana/0.15/grafana/v1beta1/providerConfig.md rename to docs/provider-grafana/0.18/grafana/v1beta1/providerConfig.md index 24d51be861..1e8f8dfa7e 100644 --- a/docs/provider-grafana/0.15/grafana/v1beta1/providerConfig.md +++ b/docs/provider-grafana/0.18/grafana/v1beta1/providerConfig.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/v1beta1/providerConfig/ +permalink: /provider-grafana/0.18/grafana/v1beta1/providerConfig/ --- # grafana.v1beta1.providerConfig @@ -30,6 +30,10 @@ permalink: /provider-grafana/0.15/grafana/v1beta1/providerConfig/ * [`fn withSelfLink(selfLink)`](#fn-metadatawithselflink) * [`fn withUid(uid)`](#fn-metadatawithuid) * [`obj spec`](#obj-spec) + * [`fn withCloudApiUrl(cloudApiUrl)`](#fn-specwithcloudapiurl) + * [`fn withOncallUrl(oncallUrl)`](#fn-specwithoncallurl) + * [`fn withSmUrl(smUrl)`](#fn-specwithsmurl) + * [`fn withUrl(url)`](#fn-specwithurl) * [`obj spec.credentials`](#obj-speccredentials) * [`fn withSource(source)`](#fn-speccredentialswithsource) * [`obj spec.credentials.env`](#obj-speccredentialsenv) @@ -219,6 +223,38 @@ withUid(uid) "A ProviderConfigSpec defines the desired state of a ProviderConfig." +### fn spec.withCloudApiUrl + +```ts +withCloudApiUrl(cloudApiUrl) +``` + +"Override the Grafana Cloud API URL from the credentials reference attribute." + +### fn spec.withOncallUrl + +```ts +withOncallUrl(oncallUrl) +``` + +"Override the OnCall API URL from the credentials reference attribute." + +### fn spec.withSmUrl + +```ts +withSmUrl(smUrl) +``` + +"Override the Synthetic Monitoring API URL from the credentials reference attribute." + +### fn spec.withUrl + +```ts +withUrl(url) +``` + +"Override the Grafana URL from the credentials reference attribute." + ## obj spec.credentials "Credentials required to authenticate to this provider." diff --git a/docs/provider-grafana/0.15/grafana/v1beta1/providerConfigUsage.md b/docs/provider-grafana/0.18/grafana/v1beta1/providerConfigUsage.md similarity index 99% rename from docs/provider-grafana/0.15/grafana/v1beta1/providerConfigUsage.md rename to docs/provider-grafana/0.18/grafana/v1beta1/providerConfigUsage.md index 2c9e2ff8d2..c7dc5822fe 100644 --- a/docs/provider-grafana/0.15/grafana/v1beta1/providerConfigUsage.md +++ b/docs/provider-grafana/0.18/grafana/v1beta1/providerConfigUsage.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/grafana/v1beta1/providerConfigUsage/ +permalink: /provider-grafana/0.18/grafana/v1beta1/providerConfigUsage/ --- # grafana.v1beta1.providerConfigUsage diff --git a/docs/provider-grafana/0.15/ml/index.md b/docs/provider-grafana/0.18/ml/index.md similarity index 55% rename from docs/provider-grafana/0.15/ml/index.md rename to docs/provider-grafana/0.18/ml/index.md index 05fcbf2668..0af5c212d6 100644 --- a/docs/provider-grafana/0.15/ml/index.md +++ b/docs/provider-grafana/0.18/ml/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/ml/ +permalink: /provider-grafana/0.18/ml/ --- # ml diff --git a/docs/provider-grafana/0.15/ml/v1alpha1/holiday.md b/docs/provider-grafana/0.18/ml/v1alpha1/holiday.md similarity index 99% rename from docs/provider-grafana/0.15/ml/v1alpha1/holiday.md rename to docs/provider-grafana/0.18/ml/v1alpha1/holiday.md index bb6f675002..292ef7ac7a 100644 --- a/docs/provider-grafana/0.15/ml/v1alpha1/holiday.md +++ b/docs/provider-grafana/0.18/ml/v1alpha1/holiday.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/ml/v1alpha1/holiday/ +permalink: /provider-grafana/0.18/ml/v1alpha1/holiday/ --- # ml.v1alpha1.holiday diff --git a/docs/provider-grafana/0.15/ml/v1alpha1/index.md b/docs/provider-grafana/0.18/ml/v1alpha1/index.md similarity index 69% rename from docs/provider-grafana/0.15/ml/v1alpha1/index.md rename to docs/provider-grafana/0.18/ml/v1alpha1/index.md index 09ce1007ca..585e3e6994 100644 --- a/docs/provider-grafana/0.15/ml/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/ml/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/ml/v1alpha1/ +permalink: /provider-grafana/0.18/ml/v1alpha1/ --- # ml.v1alpha1 diff --git a/docs/provider-grafana/0.15/ml/v1alpha1/job.md b/docs/provider-grafana/0.18/ml/v1alpha1/job.md similarity index 98% rename from docs/provider-grafana/0.15/ml/v1alpha1/job.md rename to docs/provider-grafana/0.18/ml/v1alpha1/job.md index 7d9feec0d5..458ddf5f35 100644 --- a/docs/provider-grafana/0.15/ml/v1alpha1/job.md +++ b/docs/provider-grafana/0.18/ml/v1alpha1/job.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/ml/v1alpha1/job/ +permalink: /provider-grafana/0.18/ml/v1alpha1/job/ --- # ml.v1alpha1.job @@ -36,7 +36,6 @@ permalink: /provider-grafana/0.15/ml/v1alpha1/job/ * [`obj spec.forProvider`](#obj-specforprovider) * [`fn withCustomLabels(customLabels)`](#fn-specforproviderwithcustomlabels) * [`fn withCustomLabelsMixin(customLabels)`](#fn-specforproviderwithcustomlabelsmixin) - * [`fn withDatasourceId(datasourceId)`](#fn-specforproviderwithdatasourceid) * [`fn withDatasourceType(datasourceType)`](#fn-specforproviderwithdatasourcetype) * [`fn withDatasourceUid(datasourceUid)`](#fn-specforproviderwithdatasourceuid) * [`fn withDescription(description)`](#fn-specforproviderwithdescription) @@ -65,7 +64,6 @@ permalink: /provider-grafana/0.15/ml/v1alpha1/job/ * [`obj spec.initProvider`](#obj-specinitprovider) * [`fn withCustomLabels(customLabels)`](#fn-specinitproviderwithcustomlabels) * [`fn withCustomLabelsMixin(customLabels)`](#fn-specinitproviderwithcustomlabelsmixin) - * [`fn withDatasourceId(datasourceId)`](#fn-specinitproviderwithdatasourceid) * [`fn withDatasourceType(datasourceType)`](#fn-specinitproviderwithdatasourcetype) * [`fn withDatasourceUid(datasourceUid)`](#fn-specinitproviderwithdatasourceuid) * [`fn withDescription(description)`](#fn-specinitproviderwithdescription) @@ -339,14 +337,6 @@ withCustomLabelsMixin(customLabels) **Note:** This function appends passed data to existing values -### fn spec.forProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"The id of the datasource to query." - ### fn spec.forProvider.withDatasourceType ```ts @@ -561,14 +551,6 @@ withCustomLabelsMixin(customLabels) **Note:** This function appends passed data to existing values -### fn spec.initProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"The id of the datasource to query." - ### fn spec.initProvider.withDatasourceType ```ts diff --git a/docs/provider-grafana/0.15/ml/v1alpha1/outlierDetector.md b/docs/provider-grafana/0.18/ml/v1alpha1/outlierDetector.md similarity index 98% rename from docs/provider-grafana/0.15/ml/v1alpha1/outlierDetector.md rename to docs/provider-grafana/0.18/ml/v1alpha1/outlierDetector.md index e34697db76..d975e58c2f 100644 --- a/docs/provider-grafana/0.15/ml/v1alpha1/outlierDetector.md +++ b/docs/provider-grafana/0.18/ml/v1alpha1/outlierDetector.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/ml/v1alpha1/outlierDetector/ +permalink: /provider-grafana/0.18/ml/v1alpha1/outlierDetector/ --- # ml.v1alpha1.outlierDetector @@ -36,7 +36,6 @@ permalink: /provider-grafana/0.15/ml/v1alpha1/outlierDetector/ * [`obj spec.forProvider`](#obj-specforprovider) * [`fn withAlgorithm(algorithm)`](#fn-specforproviderwithalgorithm) * [`fn withAlgorithmMixin(algorithm)`](#fn-specforproviderwithalgorithmmixin) - * [`fn withDatasourceId(datasourceId)`](#fn-specforproviderwithdatasourceid) * [`fn withDatasourceType(datasourceType)`](#fn-specforproviderwithdatasourcetype) * [`fn withDatasourceUid(datasourceUid)`](#fn-specforproviderwithdatasourceuid) * [`fn withDescription(description)`](#fn-specforproviderwithdescription) @@ -67,7 +66,6 @@ permalink: /provider-grafana/0.15/ml/v1alpha1/outlierDetector/ * [`obj spec.initProvider`](#obj-specinitprovider) * [`fn withAlgorithm(algorithm)`](#fn-specinitproviderwithalgorithm) * [`fn withAlgorithmMixin(algorithm)`](#fn-specinitproviderwithalgorithmmixin) - * [`fn withDatasourceId(datasourceId)`](#fn-specinitproviderwithdatasourceid) * [`fn withDatasourceType(datasourceType)`](#fn-specinitproviderwithdatasourcetype) * [`fn withDatasourceUid(datasourceUid)`](#fn-specinitproviderwithdatasourceuid) * [`fn withDescription(description)`](#fn-specinitproviderwithdescription) @@ -343,14 +341,6 @@ withAlgorithmMixin(algorithm) **Note:** This function appends passed data to existing values -### fn spec.forProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"The id of the datasource to query." - ### fn spec.forProvider.withDatasourceType ```ts @@ -571,14 +561,6 @@ withAlgorithmMixin(algorithm) **Note:** This function appends passed data to existing values -### fn spec.initProvider.withDatasourceId - -```ts -withDatasourceId(datasourceId) -``` - -"The id of the datasource to query." - ### fn spec.initProvider.withDatasourceType ```ts diff --git a/docs/provider-grafana/0.15/oncall/index.md b/docs/provider-grafana/0.18/oncall/index.md similarity index 55% rename from docs/provider-grafana/0.15/oncall/index.md rename to docs/provider-grafana/0.18/oncall/index.md index feb4164c35..470df9e117 100644 --- a/docs/provider-grafana/0.15/oncall/index.md +++ b/docs/provider-grafana/0.18/oncall/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/ +permalink: /provider-grafana/0.18/oncall/ --- # oncall diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/escalation.md b/docs/provider-grafana/0.18/oncall/v1alpha1/escalation.md similarity index 58% rename from docs/provider-grafana/0.15/oncall/v1alpha1/escalation.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/escalation.md index 87d54c431a..d3fd37724e 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/escalation.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/escalation.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/escalation/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/escalation/ --- # oncall.v1alpha1.escalation @@ -49,6 +49,42 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/escalation/ * [`fn withPersonsToNotifyNextEachTimeMixin(personsToNotifyNextEachTime)`](#fn-specforproviderwithpersonstonotifynexteachtimemixin) * [`fn withPosition(position)`](#fn-specforproviderwithposition) * [`fn withType(type)`](#fn-specforproviderwithtype) + * [`obj spec.forProvider.actionToTriggerRef`](#obj-specforprovideractiontotriggerref) + * [`fn withName(name)`](#fn-specforprovideractiontotriggerrefwithname) + * [`obj spec.forProvider.actionToTriggerRef.policy`](#obj-specforprovideractiontotriggerrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovideractiontotriggerrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovideractiontotriggerrefpolicywithresolve) + * [`obj spec.forProvider.actionToTriggerSelector`](#obj-specforprovideractiontotriggerselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforprovideractiontotriggerselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforprovideractiontotriggerselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforprovideractiontotriggerselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.actionToTriggerSelector.policy`](#obj-specforprovideractiontotriggerselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovideractiontotriggerselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovideractiontotriggerselectorpolicywithresolve) + * [`obj spec.forProvider.escalationChainRef`](#obj-specforproviderescalationchainref) + * [`fn withName(name)`](#fn-specforproviderescalationchainrefwithname) + * [`obj spec.forProvider.escalationChainRef.policy`](#obj-specforproviderescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderescalationchainrefpolicywithresolve) + * [`obj spec.forProvider.escalationChainSelector`](#obj-specforproviderescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.escalationChainSelector.policy`](#obj-specforproviderescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderescalationchainselectorpolicywithresolve) + * [`obj spec.forProvider.notifyOnCallFromScheduleRef`](#obj-specforprovidernotifyoncallfromscheduleref) + * [`fn withName(name)`](#fn-specforprovidernotifyoncallfromschedulerefwithname) + * [`obj spec.forProvider.notifyOnCallFromScheduleRef.policy`](#obj-specforprovidernotifyoncallfromschedulerefpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovidernotifyoncallfromschedulerefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovidernotifyoncallfromschedulerefpolicywithresolve) + * [`obj spec.forProvider.notifyOnCallFromScheduleSelector`](#obj-specforprovidernotifyoncallfromscheduleselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforprovidernotifyoncallfromscheduleselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforprovidernotifyoncallfromscheduleselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforprovidernotifyoncallfromscheduleselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.notifyOnCallFromScheduleSelector.policy`](#obj-specforprovidernotifyoncallfromscheduleselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovidernotifyoncallfromscheduleselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovidernotifyoncallfromscheduleselectorpolicywithresolve) * [`obj spec.initProvider`](#obj-specinitprovider) * [`fn withActionToTrigger(actionToTrigger)`](#fn-specinitproviderwithactiontotrigger) * [`fn withDuration(duration)`](#fn-specinitproviderwithduration) @@ -65,6 +101,42 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/escalation/ * [`fn withPersonsToNotifyNextEachTimeMixin(personsToNotifyNextEachTime)`](#fn-specinitproviderwithpersonstonotifynexteachtimemixin) * [`fn withPosition(position)`](#fn-specinitproviderwithposition) * [`fn withType(type)`](#fn-specinitproviderwithtype) + * [`obj spec.initProvider.actionToTriggerRef`](#obj-specinitprovideractiontotriggerref) + * [`fn withName(name)`](#fn-specinitprovideractiontotriggerrefwithname) + * [`obj spec.initProvider.actionToTriggerRef.policy`](#obj-specinitprovideractiontotriggerrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovideractiontotriggerrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovideractiontotriggerrefpolicywithresolve) + * [`obj spec.initProvider.actionToTriggerSelector`](#obj-specinitprovideractiontotriggerselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitprovideractiontotriggerselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitprovideractiontotriggerselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitprovideractiontotriggerselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.actionToTriggerSelector.policy`](#obj-specinitprovideractiontotriggerselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovideractiontotriggerselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovideractiontotriggerselectorpolicywithresolve) + * [`obj spec.initProvider.escalationChainRef`](#obj-specinitproviderescalationchainref) + * [`fn withName(name)`](#fn-specinitproviderescalationchainrefwithname) + * [`obj spec.initProvider.escalationChainRef.policy`](#obj-specinitproviderescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderescalationchainrefpolicywithresolve) + * [`obj spec.initProvider.escalationChainSelector`](#obj-specinitproviderescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.escalationChainSelector.policy`](#obj-specinitproviderescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderescalationchainselectorpolicywithresolve) + * [`obj spec.initProvider.notifyOnCallFromScheduleRef`](#obj-specinitprovidernotifyoncallfromscheduleref) + * [`fn withName(name)`](#fn-specinitprovidernotifyoncallfromschedulerefwithname) + * [`obj spec.initProvider.notifyOnCallFromScheduleRef.policy`](#obj-specinitprovidernotifyoncallfromschedulerefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovidernotifyoncallfromschedulerefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovidernotifyoncallfromschedulerefpolicywithresolve) + * [`obj spec.initProvider.notifyOnCallFromScheduleSelector`](#obj-specinitprovidernotifyoncallfromscheduleselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitprovidernotifyoncallfromscheduleselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitprovidernotifyoncallfromscheduleselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitprovidernotifyoncallfromscheduleselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.notifyOnCallFromScheduleSelector.policy`](#obj-specinitprovidernotifyoncallfromscheduleselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovidernotifyoncallfromscheduleselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovidernotifyoncallfromscheduleselectorpolicywithresolve) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -419,6 +491,252 @@ withType(type) "(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members" +## obj spec.forProvider.actionToTriggerRef + +"Reference to a OutgoingWebhook in oncall to populate actionToTrigger." + +### fn spec.forProvider.actionToTriggerRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.actionToTriggerRef.policy + +"Policies for referencing." + +### fn spec.forProvider.actionToTriggerRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.actionToTriggerRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.actionToTriggerSelector + +"Selector for a OutgoingWebhook in oncall to populate actionToTrigger." + +### fn spec.forProvider.actionToTriggerSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.actionToTriggerSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.actionToTriggerSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.actionToTriggerSelector.policy + +"Policies for selection." + +### fn spec.forProvider.actionToTriggerSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.actionToTriggerSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.forProvider.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.forProvider.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.notifyOnCallFromScheduleRef + +"Reference to a Schedule in oncall to populate notifyOnCallFromSchedule." + +### fn spec.forProvider.notifyOnCallFromScheduleRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.notifyOnCallFromScheduleRef.policy + +"Policies for referencing." + +### fn spec.forProvider.notifyOnCallFromScheduleRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.notifyOnCallFromScheduleRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.notifyOnCallFromScheduleSelector + +"Selector for a Schedule in oncall to populate notifyOnCallFromSchedule." + +### fn spec.forProvider.notifyOnCallFromScheduleSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.notifyOnCallFromScheduleSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.notifyOnCallFromScheduleSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.notifyOnCallFromScheduleSelector.policy + +"Policies for selection." + +### fn spec.forProvider.notifyOnCallFromScheduleSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.notifyOnCallFromScheduleSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.initProvider "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." @@ -547,6 +865,252 @@ withType(type) "(String) The type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members\nThe type of escalation policy. Can be wait, notify_persons, notify_person_next_each_time, notify_on_call_from_schedule, trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation, notify_team_members" +## obj spec.initProvider.actionToTriggerRef + +"Reference to a OutgoingWebhook in oncall to populate actionToTrigger." + +### fn spec.initProvider.actionToTriggerRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.actionToTriggerRef.policy + +"Policies for referencing." + +### fn spec.initProvider.actionToTriggerRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.actionToTriggerRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.actionToTriggerSelector + +"Selector for a OutgoingWebhook in oncall to populate actionToTrigger." + +### fn spec.initProvider.actionToTriggerSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.actionToTriggerSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.actionToTriggerSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.actionToTriggerSelector.policy + +"Policies for selection." + +### fn spec.initProvider.actionToTriggerSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.actionToTriggerSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.initProvider.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.initProvider.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.notifyOnCallFromScheduleRef + +"Reference to a Schedule in oncall to populate notifyOnCallFromSchedule." + +### fn spec.initProvider.notifyOnCallFromScheduleRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.notifyOnCallFromScheduleRef.policy + +"Policies for referencing." + +### fn spec.initProvider.notifyOnCallFromScheduleRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.notifyOnCallFromScheduleRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.notifyOnCallFromScheduleSelector + +"Selector for a Schedule in oncall to populate notifyOnCallFromSchedule." + +### fn spec.initProvider.notifyOnCallFromScheduleSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.notifyOnCallFromScheduleSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.notifyOnCallFromScheduleSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.notifyOnCallFromScheduleSelector.policy + +"Policies for selection." + +### fn spec.initProvider.notifyOnCallFromScheduleSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.notifyOnCallFromScheduleSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/escalationChain.md b/docs/provider-grafana/0.18/oncall/v1alpha1/escalationChain.md similarity index 99% rename from docs/provider-grafana/0.15/oncall/v1alpha1/escalationChain.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/escalationChain.md index 74878f71a1..4889c4ddd5 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/escalationChain.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/escalationChain.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/escalationChain/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/escalationChain/ --- # oncall.v1alpha1.escalationChain diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/index.md b/docs/provider-grafana/0.18/oncall/v1alpha1/index.md similarity index 64% rename from docs/provider-grafana/0.15/oncall/v1alpha1/index.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/index.md index da6bdc4c90..193dd9259d 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/ --- # oncall.v1alpha1 @@ -12,4 +12,5 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/ * [onCallShift](onCallShift.md) * [outgoingWebhook](outgoingWebhook.md) * [route](route.md) -* [schedule](schedule.md) \ No newline at end of file +* [schedule](schedule.md) +* [userNotificationRule](userNotificationRule.md) \ No newline at end of file diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/integration.md b/docs/provider-grafana/0.18/oncall/v1alpha1/integration.md similarity index 87% rename from docs/provider-grafana/0.15/oncall/v1alpha1/integration.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/integration.md index 3b07f78292..a4e0bc286c 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/integration.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/integration.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/integration/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/integration/ --- # oncall.v1alpha1.integration @@ -49,6 +49,18 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/integration/ * [`fn withSlackMixin(slack)`](#fn-specforproviderdefaultroutewithslackmixin) * [`fn withTelegram(telegram)`](#fn-specforproviderdefaultroutewithtelegram) * [`fn withTelegramMixin(telegram)`](#fn-specforproviderdefaultroutewithtelegrammixin) + * [`obj spec.forProvider.defaultRoute.escalationChainRef`](#obj-specforproviderdefaultrouteescalationchainref) + * [`fn withName(name)`](#fn-specforproviderdefaultrouteescalationchainrefwithname) + * [`obj spec.forProvider.defaultRoute.escalationChainRef.policy`](#obj-specforproviderdefaultrouteescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderdefaultrouteescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderdefaultrouteescalationchainrefpolicywithresolve) + * [`obj spec.forProvider.defaultRoute.escalationChainSelector`](#obj-specforproviderdefaultrouteescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderdefaultrouteescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderdefaultrouteescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderdefaultrouteescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.defaultRoute.escalationChainSelector.policy`](#obj-specforproviderdefaultrouteescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderdefaultrouteescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderdefaultrouteescalationchainselectorpolicywithresolve) * [`obj spec.forProvider.defaultRoute.msteams`](#obj-specforproviderdefaultroutemsteams) * [`fn withEnabled(enabled)`](#fn-specforproviderdefaultroutemsteamswithenabled) * [`fn withId(id)`](#fn-specforproviderdefaultroutemsteamswithid) @@ -116,6 +128,18 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/integration/ * [`fn withSlackMixin(slack)`](#fn-specinitproviderdefaultroutewithslackmixin) * [`fn withTelegram(telegram)`](#fn-specinitproviderdefaultroutewithtelegram) * [`fn withTelegramMixin(telegram)`](#fn-specinitproviderdefaultroutewithtelegrammixin) + * [`obj spec.initProvider.defaultRoute.escalationChainRef`](#obj-specinitproviderdefaultrouteescalationchainref) + * [`fn withName(name)`](#fn-specinitproviderdefaultrouteescalationchainrefwithname) + * [`obj spec.initProvider.defaultRoute.escalationChainRef.policy`](#obj-specinitproviderdefaultrouteescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderdefaultrouteescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderdefaultrouteescalationchainrefpolicywithresolve) + * [`obj spec.initProvider.defaultRoute.escalationChainSelector`](#obj-specinitproviderdefaultrouteescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderdefaultrouteescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderdefaultrouteescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderdefaultrouteescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.defaultRoute.escalationChainSelector.policy`](#obj-specinitproviderdefaultrouteescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderdefaultrouteescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderdefaultrouteescalationchainselectorpolicywithresolve) * [`obj spec.initProvider.defaultRoute.msteams`](#obj-specinitproviderdefaultroutemsteams) * [`fn withEnabled(enabled)`](#fn-specinitproviderdefaultroutemsteamswithenabled) * [`fn withId(id)`](#fn-specinitproviderdefaultroutemsteamswithid) @@ -523,6 +547,88 @@ withTelegramMixin(telegram) **Note:** This function appends passed data to existing values +## obj spec.forProvider.defaultRoute.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.defaultRoute.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.defaultRoute.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.forProvider.defaultRoute.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.defaultRoute.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.defaultRoute.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.defaultRoute.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.defaultRoute.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.defaultRoute.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.defaultRoute.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.forProvider.defaultRoute.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.defaultRoute.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.forProvider.defaultRoute.msteams "specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route." @@ -1031,6 +1137,88 @@ withTelegramMixin(telegram) **Note:** This function appends passed data to existing values +## obj spec.initProvider.defaultRoute.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.defaultRoute.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.defaultRoute.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.initProvider.defaultRoute.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.defaultRoute.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.defaultRoute.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.defaultRoute.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.defaultRoute.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.defaultRoute.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.defaultRoute.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.initProvider.defaultRoute.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.defaultRoute.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.initProvider.defaultRoute.msteams "specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route." diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/onCallShift.md b/docs/provider-grafana/0.18/oncall/v1alpha1/onCallShift.md similarity index 99% rename from docs/provider-grafana/0.15/oncall/v1alpha1/onCallShift.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/onCallShift.md index e16a0a365a..56676098a9 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/onCallShift.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/onCallShift.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/onCallShift/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/onCallShift/ --- # oncall.v1alpha1.onCallShift diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/outgoingWebhook.md b/docs/provider-grafana/0.18/oncall/v1alpha1/outgoingWebhook.md similarity index 93% rename from docs/provider-grafana/0.15/oncall/v1alpha1/outgoingWebhook.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/outgoingWebhook.md index 36defb50fd..3fd5fc0141 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/outgoingWebhook.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/outgoingWebhook.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/outgoingWebhook/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/outgoingWebhook/ --- # oncall.v1alpha1.outgoingWebhook @@ -69,6 +69,14 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/outgoingWebhook/ * [`fn withTriggerType(triggerType)`](#fn-specinitproviderwithtriggertype) * [`fn withUrl(url)`](#fn-specinitproviderwithurl) * [`fn withUser(user)`](#fn-specinitproviderwithuser) + * [`obj spec.initProvider.authorizationHeaderSecretRef`](#obj-specinitproviderauthorizationheadersecretref) + * [`fn withKey(key)`](#fn-specinitproviderauthorizationheadersecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderauthorizationheadersecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderauthorizationheadersecretrefwithnamespace) + * [`obj spec.initProvider.passwordSecretRef`](#obj-specinitproviderpasswordsecretref) + * [`fn withKey(key)`](#fn-specinitproviderpasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderpasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderpasswordsecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -355,7 +363,7 @@ withIntegrationFilterMixin(integrationFilter) withIsWebhookEnabled(isWebhookEnabled) ``` -"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.\nControls whether the outgoing webhook will trigger or is ignored. The default is `true`." +"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`." ### fn spec.forProvider.withName @@ -521,7 +529,7 @@ withIntegrationFilterMixin(integrationFilter) withIsWebhookEnabled(isWebhookEnabled) ``` -"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.\nControls whether the outgoing webhook will trigger or is ignored. The default is `true`." +"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`." ### fn spec.initProvider.withName @@ -571,6 +579,62 @@ withUser(user) "(String) Username to use when making the outgoing webhook request.\nUsername to use when making the outgoing webhook request." +## obj spec.initProvider.authorizationHeaderSecretRef + +"(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\nThe auth data of the webhook. Used in Authorization header instead of user/password auth." + +### fn spec.initProvider.authorizationHeaderSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.authorizationHeaderSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.authorizationHeaderSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.passwordSecretRef + +"(String, Sensitive) The auth data of the webhook. Used for Basic authentication\nThe auth data of the webhook. Used for Basic authentication" + +### fn spec.initProvider.passwordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.passwordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.passwordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/route.md b/docs/provider-grafana/0.18/oncall/v1alpha1/route.md similarity index 67% rename from docs/provider-grafana/0.15/oncall/v1alpha1/route.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/route.md index d830aa3d53..953a147900 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/route.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/route.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/route/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/route/ --- # oncall.v1alpha1.route @@ -45,6 +45,30 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/route/ * [`fn withSlackMixin(slack)`](#fn-specforproviderwithslackmixin) * [`fn withTelegram(telegram)`](#fn-specforproviderwithtelegram) * [`fn withTelegramMixin(telegram)`](#fn-specforproviderwithtelegrammixin) + * [`obj spec.forProvider.escalationChainRef`](#obj-specforproviderescalationchainref) + * [`fn withName(name)`](#fn-specforproviderescalationchainrefwithname) + * [`obj spec.forProvider.escalationChainRef.policy`](#obj-specforproviderescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderescalationchainrefpolicywithresolve) + * [`obj spec.forProvider.escalationChainSelector`](#obj-specforproviderescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.escalationChainSelector.policy`](#obj-specforproviderescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderescalationchainselectorpolicywithresolve) + * [`obj spec.forProvider.integrationRef`](#obj-specforproviderintegrationref) + * [`fn withName(name)`](#fn-specforproviderintegrationrefwithname) + * [`obj spec.forProvider.integrationRef.policy`](#obj-specforproviderintegrationrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderintegrationrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderintegrationrefpolicywithresolve) + * [`obj spec.forProvider.integrationSelector`](#obj-specforproviderintegrationselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforproviderintegrationselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforproviderintegrationselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforproviderintegrationselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.integrationSelector.policy`](#obj-specforproviderintegrationselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforproviderintegrationselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforproviderintegrationselectorpolicywithresolve) * [`obj spec.forProvider.msteams`](#obj-specforprovidermsteams) * [`fn withEnabled(enabled)`](#fn-specforprovidermsteamswithenabled) * [`fn withId(id)`](#fn-specforprovidermsteamswithid) @@ -66,6 +90,30 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/route/ * [`fn withSlackMixin(slack)`](#fn-specinitproviderwithslackmixin) * [`fn withTelegram(telegram)`](#fn-specinitproviderwithtelegram) * [`fn withTelegramMixin(telegram)`](#fn-specinitproviderwithtelegrammixin) + * [`obj spec.initProvider.escalationChainRef`](#obj-specinitproviderescalationchainref) + * [`fn withName(name)`](#fn-specinitproviderescalationchainrefwithname) + * [`obj spec.initProvider.escalationChainRef.policy`](#obj-specinitproviderescalationchainrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderescalationchainrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderescalationchainrefpolicywithresolve) + * [`obj spec.initProvider.escalationChainSelector`](#obj-specinitproviderescalationchainselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderescalationchainselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderescalationchainselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderescalationchainselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.escalationChainSelector.policy`](#obj-specinitproviderescalationchainselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderescalationchainselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderescalationchainselectorpolicywithresolve) + * [`obj spec.initProvider.integrationRef`](#obj-specinitproviderintegrationref) + * [`fn withName(name)`](#fn-specinitproviderintegrationrefwithname) + * [`obj spec.initProvider.integrationRef.policy`](#obj-specinitproviderintegrationrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderintegrationrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderintegrationrefpolicywithresolve) + * [`obj spec.initProvider.integrationSelector`](#obj-specinitproviderintegrationselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitproviderintegrationselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitproviderintegrationselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitproviderintegrationselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.integrationSelector.policy`](#obj-specinitproviderintegrationselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitproviderintegrationselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitproviderintegrationselectorpolicywithresolve) * [`obj spec.initProvider.msteams`](#obj-specinitprovidermsteams) * [`fn withEnabled(enabled)`](#fn-specinitprovidermsteamswithenabled) * [`fn withId(id)`](#fn-specinitprovidermsteamswithid) @@ -399,6 +447,170 @@ withTelegramMixin(telegram) **Note:** This function appends passed data to existing values +## obj spec.forProvider.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.forProvider.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.forProvider.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.forProvider.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.integrationRef + +"Reference to a Integration in oncall to populate integrationId." + +### fn spec.forProvider.integrationRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.integrationRef.policy + +"Policies for referencing." + +### fn spec.forProvider.integrationRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.integrationRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.integrationSelector + +"Selector for a Integration in oncall to populate integrationId." + +### fn spec.forProvider.integrationSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.integrationSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.integrationSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.integrationSelector.policy + +"Policies for selection." + +### fn spec.forProvider.integrationSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.integrationSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.forProvider.msteams "specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route." @@ -557,6 +769,170 @@ withTelegramMixin(telegram) **Note:** This function appends passed data to existing values +## obj spec.initProvider.escalationChainRef + +"Reference to a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.escalationChainRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.escalationChainRef.policy + +"Policies for referencing." + +### fn spec.initProvider.escalationChainRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.escalationChainRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.escalationChainSelector + +"Selector for a EscalationChain in oncall to populate escalationChainId." + +### fn spec.initProvider.escalationChainSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.escalationChainSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.escalationChainSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.escalationChainSelector.policy + +"Policies for selection." + +### fn spec.initProvider.escalationChainSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.escalationChainSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.integrationRef + +"Reference to a Integration in oncall to populate integrationId." + +### fn spec.initProvider.integrationRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.integrationRef.policy + +"Policies for referencing." + +### fn spec.initProvider.integrationRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.integrationRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.integrationSelector + +"Selector for a Integration in oncall to populate integrationId." + +### fn spec.initProvider.integrationSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.integrationSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.integrationSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.integrationSelector.policy + +"Policies for selection." + +### fn spec.initProvider.integrationSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.integrationSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + ## obj spec.initProvider.msteams "specific settings for a route. (see below for nested schema)\nMS teams-specific settings for a route." diff --git a/docs/provider-grafana/0.15/oncall/v1alpha1/schedule.md b/docs/provider-grafana/0.18/oncall/v1alpha1/schedule.md similarity index 77% rename from docs/provider-grafana/0.15/oncall/v1alpha1/schedule.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/schedule.md index 9deb81b0c8..bcda87b95f 100644 --- a/docs/provider-grafana/0.15/oncall/v1alpha1/schedule.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/schedule.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oncall/v1alpha1/schedule/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/schedule/ --- # oncall.v1alpha1.schedule @@ -40,11 +40,25 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/schedule/ * [`fn withName(name)`](#fn-specforproviderwithname) * [`fn withShifts(shifts)`](#fn-specforproviderwithshifts) * [`fn withShiftsMixin(shifts)`](#fn-specforproviderwithshiftsmixin) + * [`fn withShiftsRef(shiftsRef)`](#fn-specforproviderwithshiftsref) + * [`fn withShiftsRefMixin(shiftsRef)`](#fn-specforproviderwithshiftsrefmixin) * [`fn withSlack(slack)`](#fn-specforproviderwithslack) * [`fn withSlackMixin(slack)`](#fn-specforproviderwithslackmixin) * [`fn withTeamId(teamId)`](#fn-specforproviderwithteamid) * [`fn withTimeZone(timeZone)`](#fn-specforproviderwithtimezone) * [`fn withType(type)`](#fn-specforproviderwithtype) + * [`obj spec.forProvider.shiftsRef`](#obj-specforprovidershiftsref) + * [`fn withName(name)`](#fn-specforprovidershiftsrefwithname) + * [`obj spec.forProvider.shiftsRef.policy`](#obj-specforprovidershiftsrefpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovidershiftsrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovidershiftsrefpolicywithresolve) + * [`obj spec.forProvider.shiftsSelector`](#obj-specforprovidershiftsselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specforprovidershiftsselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specforprovidershiftsselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specforprovidershiftsselectorwithmatchlabelsmixin) + * [`obj spec.forProvider.shiftsSelector.policy`](#obj-specforprovidershiftsselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specforprovidershiftsselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specforprovidershiftsselectorpolicywithresolve) * [`obj spec.forProvider.slack`](#obj-specforproviderslack) * [`fn withChannelId(channelId)`](#fn-specforproviderslackwithchannelid) * [`fn withUserGroupId(userGroupId)`](#fn-specforproviderslackwithusergroupid) @@ -55,11 +69,25 @@ permalink: /provider-grafana/0.15/oncall/v1alpha1/schedule/ * [`fn withName(name)`](#fn-specinitproviderwithname) * [`fn withShifts(shifts)`](#fn-specinitproviderwithshifts) * [`fn withShiftsMixin(shifts)`](#fn-specinitproviderwithshiftsmixin) + * [`fn withShiftsRef(shiftsRef)`](#fn-specinitproviderwithshiftsref) + * [`fn withShiftsRefMixin(shiftsRef)`](#fn-specinitproviderwithshiftsrefmixin) * [`fn withSlack(slack)`](#fn-specinitproviderwithslack) * [`fn withSlackMixin(slack)`](#fn-specinitproviderwithslackmixin) * [`fn withTeamId(teamId)`](#fn-specinitproviderwithteamid) * [`fn withTimeZone(timeZone)`](#fn-specinitproviderwithtimezone) * [`fn withType(type)`](#fn-specinitproviderwithtype) + * [`obj spec.initProvider.shiftsRef`](#obj-specinitprovidershiftsref) + * [`fn withName(name)`](#fn-specinitprovidershiftsrefwithname) + * [`obj spec.initProvider.shiftsRef.policy`](#obj-specinitprovidershiftsrefpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovidershiftsrefpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovidershiftsrefpolicywithresolve) + * [`obj spec.initProvider.shiftsSelector`](#obj-specinitprovidershiftsselector) + * [`fn withMatchControllerRef(matchControllerRef)`](#fn-specinitprovidershiftsselectorwithmatchcontrollerref) + * [`fn withMatchLabels(matchLabels)`](#fn-specinitprovidershiftsselectorwithmatchlabels) + * [`fn withMatchLabelsMixin(matchLabels)`](#fn-specinitprovidershiftsselectorwithmatchlabelsmixin) + * [`obj spec.initProvider.shiftsSelector.policy`](#obj-specinitprovidershiftsselectorpolicy) + * [`fn withResolution(resolution)`](#fn-specinitprovidershiftsselectorpolicywithresolution) + * [`fn withResolve(resolve)`](#fn-specinitprovidershiftsselectorpolicywithresolve) * [`obj spec.initProvider.slack`](#obj-specinitproviderslack) * [`fn withChannelId(channelId)`](#fn-specinitproviderslackwithchannelid) * [`fn withUserGroupId(userGroupId)`](#fn-specinitproviderslackwithusergroupid) @@ -343,6 +371,24 @@ withShiftsMixin(shifts) **Note:** This function appends passed data to existing values +### fn spec.forProvider.withShiftsRef + +```ts +withShiftsRef(shiftsRef) +``` + +"References to OnCallShift in oncall to populate shifts." + +### fn spec.forProvider.withShiftsRefMixin + +```ts +withShiftsRefMixin(shiftsRef) +``` + +"References to OnCallShift in oncall to populate shifts." + +**Note:** This function appends passed data to existing values + ### fn spec.forProvider.withSlack ```ts @@ -383,7 +429,89 @@ withTimeZone(timeZone) withType(type) ``` -"(String) The schedule's type.\nThe schedule's type." +"(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." + +## obj spec.forProvider.shiftsRef + +"References to OnCallShift in oncall to populate shifts." + +### fn spec.forProvider.shiftsRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.forProvider.shiftsRef.policy + +"Policies for referencing." + +### fn spec.forProvider.shiftsRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.shiftsRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.forProvider.shiftsSelector + +"Selector for a list of OnCallShift in oncall to populate shifts." + +### fn spec.forProvider.shiftsSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.forProvider.shiftsSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.forProvider.shiftsSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.shiftsSelector.policy + +"Policies for selection." + +### fn spec.forProvider.shiftsSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.forProvider.shiftsSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." ## obj spec.forProvider.slack @@ -459,6 +587,24 @@ withShiftsMixin(shifts) **Note:** This function appends passed data to existing values +### fn spec.initProvider.withShiftsRef + +```ts +withShiftsRef(shiftsRef) +``` + +"References to OnCallShift in oncall to populate shifts." + +### fn spec.initProvider.withShiftsRefMixin + +```ts +withShiftsRefMixin(shiftsRef) +``` + +"References to OnCallShift in oncall to populate shifts." + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.withSlack ```ts @@ -499,7 +645,89 @@ withTimeZone(timeZone) withType(type) ``` -"(String) The schedule's type.\nThe schedule's type." +"(String) The schedule's type. Valid values are ical, calendar.\nThe schedule's type. Valid values are `ical`, `calendar`." + +## obj spec.initProvider.shiftsRef + +"References to OnCallShift in oncall to populate shifts." + +### fn spec.initProvider.shiftsRef.withName + +```ts +withName(name) +``` + +"Name of the referenced object." + +## obj spec.initProvider.shiftsRef.policy + +"Policies for referencing." + +### fn spec.initProvider.shiftsRef.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.shiftsRef.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." + +## obj spec.initProvider.shiftsSelector + +"Selector for a list of OnCallShift in oncall to populate shifts." + +### fn spec.initProvider.shiftsSelector.withMatchControllerRef + +```ts +withMatchControllerRef(matchControllerRef) +``` + +"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected." + +### fn spec.initProvider.shiftsSelector.withMatchLabels + +```ts +withMatchLabels(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +### fn spec.initProvider.shiftsSelector.withMatchLabelsMixin + +```ts +withMatchLabelsMixin(matchLabels) +``` + +"MatchLabels ensures an object with matching labels is selected." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.shiftsSelector.policy + +"Policies for selection." + +### fn spec.initProvider.shiftsSelector.policy.withResolution + +```ts +withResolution(resolution) +``` + +"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved." + +### fn spec.initProvider.shiftsSelector.policy.withResolve + +```ts +withResolve(resolve) +``` + +"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." ## obj spec.initProvider.slack diff --git a/docs/provider-grafana/0.15/cloud/v1alpha1/apiKey.md b/docs/provider-grafana/0.18/oncall/v1alpha1/userNotificationRule.md similarity index 82% rename from docs/provider-grafana/0.15/cloud/v1alpha1/apiKey.md rename to docs/provider-grafana/0.18/oncall/v1alpha1/userNotificationRule.md index 3c041a1ba1..4da7589f4d 100644 --- a/docs/provider-grafana/0.15/cloud/v1alpha1/apiKey.md +++ b/docs/provider-grafana/0.18/oncall/v1alpha1/userNotificationRule.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/cloud/v1alpha1/apiKey/ +permalink: /provider-grafana/0.18/oncall/v1alpha1/userNotificationRule/ --- -# cloud.v1alpha1.apiKey +# oncall.v1alpha1.userNotificationRule -"APIKey is the Schema for the APIKeys API. This resource is deprecated and will be removed in a future release. Please use grafanacloudaccess_policy instead. Manages a single API key on the Grafana Cloud portal (on the organization level)" +"UserNotificationRule is the Schema for the UserNotificationRules API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/ Note: you must be running Grafana OnCall >= v1.8.0 to use this resource." ## Index @@ -34,13 +34,17 @@ permalink: /provider-grafana/0.15/cloud/v1alpha1/apiKey/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withCloudOrgSlug(cloudOrgSlug)`](#fn-specforproviderwithcloudorgslug) - * [`fn withName(name)`](#fn-specforproviderwithname) - * [`fn withRole(role)`](#fn-specforproviderwithrole) + * [`fn withDuration(duration)`](#fn-specforproviderwithduration) + * [`fn withImportant(important)`](#fn-specforproviderwithimportant) + * [`fn withPosition(position)`](#fn-specforproviderwithposition) + * [`fn withType(type)`](#fn-specforproviderwithtype) + * [`fn withUserId(userId)`](#fn-specforproviderwithuserid) * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withCloudOrgSlug(cloudOrgSlug)`](#fn-specinitproviderwithcloudorgslug) - * [`fn withName(name)`](#fn-specinitproviderwithname) - * [`fn withRole(role)`](#fn-specinitproviderwithrole) + * [`fn withDuration(duration)`](#fn-specinitproviderwithduration) + * [`fn withImportant(important)`](#fn-specinitproviderwithimportant) + * [`fn withPosition(position)`](#fn-specinitproviderwithposition) + * [`fn withType(type)`](#fn-specinitproviderwithtype) + * [`fn withUserId(userId)`](#fn-specinitproviderwithuserid) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -71,7 +75,7 @@ permalink: /provider-grafana/0.15/cloud/v1alpha1/apiKey/ new(name) ``` -new returns an instance of APIKey +new returns an instance of UserNotificationRule ## obj metadata @@ -239,7 +243,7 @@ withUid(uid) ## obj spec -"APIKeySpec defines the desired state of APIKey" +"UserNotificationRuleSpec defines the desired state of UserNotificationRule" ### fn spec.withDeletionPolicy @@ -271,57 +275,89 @@ withManagementPoliciesMixin(managementPolicies) -### fn spec.forProvider.withCloudOrgSlug +### fn spec.forProvider.withDuration ```ts -withCloudOrgSlug(cloudOrgSlug) +withDuration(duration) ``` -"(String) The slug of the organization to create the API key in. This is the same slug as the organization name in the URL.\nThe slug of the organization to create the API key in. This is the same slug as the organization name in the URL." +"(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600" -### fn spec.forProvider.withName +### fn spec.forProvider.withImportant ```ts -withName(name) +withImportant(important) +``` + +"(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”" + +### fn spec.forProvider.withPosition + +```ts +withPosition(position) +``` + +"(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list." + +### fn spec.forProvider.withType + +```ts +withType(type) ``` -"(String) Name of the API key.\nName of the API key." +"(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers." -### fn spec.forProvider.withRole +### fn spec.forProvider.withUserId ```ts -withRole(role) +withUserId(userId) ``` -"cloud/api/#create-api-key for details.\nRole of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See https://grafana.com/docs/grafana-cloud/api/#create-api-key for details." +"(String) User ID\nUser ID" ## obj spec.initProvider "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." -### fn spec.initProvider.withCloudOrgSlug +### fn spec.initProvider.withDuration ```ts -withCloudOrgSlug(cloudOrgSlug) +withDuration(duration) ``` -"(String) The slug of the organization to create the API key in. This is the same slug as the organization name in the URL.\nThe slug of the organization to create the API key in. This is the same slug as the organization name in the URL." +"(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600" -### fn spec.initProvider.withName +### fn spec.initProvider.withImportant ```ts -withName(name) +withImportant(important) +``` + +"(Boolean) Boolean value which indicates if a rule is “important”\nBoolean value which indicates if a rule is “important”" + +### fn spec.initProvider.withPosition + +```ts +withPosition(position) +``` + +"(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list." + +### fn spec.initProvider.withType + +```ts +withType(type) ``` -"(String) Name of the API key.\nName of the API key." +"(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers." -### fn spec.initProvider.withRole +### fn spec.initProvider.withUserId ```ts -withRole(role) +withUserId(userId) ``` -"cloud/api/#create-api-key for details.\nRole of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See https://grafana.com/docs/grafana-cloud/api/#create-api-key for details." +"(String) User ID\nUser ID" ## obj spec.providerConfigRef diff --git a/docs/provider-grafana/0.15/oss/index.md b/docs/provider-grafana/0.18/oss/index.md similarity index 55% rename from docs/provider-grafana/0.15/oss/index.md rename to docs/provider-grafana/0.18/oss/index.md index 545fa7672e..2b6f77b7a5 100644 --- a/docs/provider-grafana/0.15/oss/index.md +++ b/docs/provider-grafana/0.18/oss/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/ +permalink: /provider-grafana/0.18/oss/ --- # oss diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/annotation.md b/docs/provider-grafana/0.18/oss/v1alpha1/annotation.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/annotation.md rename to docs/provider-grafana/0.18/oss/v1alpha1/annotation.md index cf8493a95a..9a67cbd6d8 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/annotation.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/annotation.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/annotation/ +permalink: /provider-grafana/0.18/oss/v1alpha1/annotation/ --- # oss.v1alpha1.annotation @@ -335,7 +335,7 @@ withManagementPoliciesMixin(managementPolicies) withDashboardUid(dashboardUid) ``` -"(String) The ID of the dashboard on which to create the annotation.\nThe ID of the dashboard on which to create the annotation." +"(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation." ### fn spec.forProvider.withOrgId @@ -569,7 +569,7 @@ withResolve(resolve) withDashboardUid(dashboardUid) ``` -"(String) The ID of the dashboard on which to create the annotation.\nThe ID of the dashboard on which to create the annotation." +"(String) The UID of the dashboard on which to create the annotation.\nThe UID of the dashboard on which to create the annotation." ### fn spec.initProvider.withOrgId diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/dashboard.md b/docs/provider-grafana/0.18/oss/v1alpha1/dashboard.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/dashboard.md rename to docs/provider-grafana/0.18/oss/v1alpha1/dashboard.md index 7eef30a6fc..2c59d66b6a 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/dashboard.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/dashboard.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/dashboard/ +permalink: /provider-grafana/0.18/oss/v1alpha1/dashboard/ --- # oss.v1alpha1.dashboard diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/dashboardPermission.md b/docs/provider-grafana/0.18/oss/v1alpha1/dashboardPermission.md similarity index 98% rename from docs/provider-grafana/0.15/oss/v1alpha1/dashboardPermission.md rename to docs/provider-grafana/0.18/oss/v1alpha1/dashboardPermission.md index 479a0cef26..3987227fa8 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/dashboardPermission.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/dashboardPermission.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/dashboardPermission/ +permalink: /provider-grafana/0.18/oss/v1alpha1/dashboardPermission/ --- # oss.v1alpha1.dashboardPermission -"DashboardPermission is the Schema for the DashboardPermissions API. Manages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed." +"DashboardPermission is the Schema for the DashboardPermissions API. Manages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/" ## Index @@ -595,7 +595,7 @@ withPermission(permission) withRole(role) ``` -"(String) Manage permissions for Viewer or Editor roles.\nManage permissions for `Viewer` or `Editor` roles." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.forProvider.permissions.withTeamId @@ -997,7 +997,7 @@ withPermission(permission) withRole(role) ``` -"(String) Manage permissions for Viewer or Editor roles.\nManage permissions for `Viewer` or `Editor` roles." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.initProvider.permissions.withTeamId diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/dashboardPublic.md b/docs/provider-grafana/0.18/oss/v1alpha1/dashboardPublic.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/dashboardPublic.md rename to docs/provider-grafana/0.18/oss/v1alpha1/dashboardPublic.md index a1e90cf0a5..9f66192598 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/dashboardPublic.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/dashboardPublic.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/dashboardPublic/ +permalink: /provider-grafana/0.18/oss/v1alpha1/dashboardPublic/ --- # oss.v1alpha1.dashboardPublic diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/dataSource.md b/docs/provider-grafana/0.18/oss/v1alpha1/dataSource.md similarity index 95% rename from docs/provider-grafana/0.15/oss/v1alpha1/dataSource.md rename to docs/provider-grafana/0.18/oss/v1alpha1/dataSource.md index 979d71e604..ff61dcac0f 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/dataSource.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/dataSource.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/dataSource/ +permalink: /provider-grafana/0.18/oss/v1alpha1/dataSource/ --- # oss.v1alpha1.dataSource @@ -70,6 +70,8 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/dataSource/ * [`fn withBasicAuthEnabled(basicAuthEnabled)`](#fn-specinitproviderwithbasicauthenabled) * [`fn withBasicAuthUsername(basicAuthUsername)`](#fn-specinitproviderwithbasicauthusername) * [`fn withDatabaseName(databaseName)`](#fn-specinitproviderwithdatabasename) + * [`fn withHttpHeadersSecretRef(httpHeadersSecretRef)`](#fn-specinitproviderwithhttpheaderssecretref) + * [`fn withHttpHeadersSecretRefMixin(httpHeadersSecretRef)`](#fn-specinitproviderwithhttpheaderssecretrefmixin) * [`fn withIsDefault(isDefault)`](#fn-specinitproviderwithisdefault) * [`fn withJsonDataEncoded(jsonDataEncoded)`](#fn-specinitproviderwithjsondataencoded) * [`fn withName(name)`](#fn-specinitproviderwithname) @@ -90,6 +92,10 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/dataSource/ * [`obj spec.initProvider.organizationSelector.policy`](#obj-specinitproviderorganizationselectorpolicy) * [`fn withResolution(resolution)`](#fn-specinitproviderorganizationselectorpolicywithresolution) * [`fn withResolve(resolve)`](#fn-specinitproviderorganizationselectorpolicywithresolve) + * [`obj spec.initProvider.secureJsonDataEncodedSecretRef`](#obj-specinitprovidersecurejsondataencodedsecretref) + * [`fn withKey(key)`](#fn-specinitprovidersecurejsondataencodedsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersecurejsondataencodedsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersecurejsondataencodedsecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -582,6 +588,24 @@ withDatabaseName(databaseName) "(String) The name of the database to use on the selected data source server. Defaults to “.\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “." +### fn spec.initProvider.withHttpHeadersSecretRef + +```ts +withHttpHeadersSecretRef(httpHeadersSecretRef) +``` + + + +### fn spec.initProvider.withHttpHeadersSecretRefMixin + +```ts +withHttpHeadersSecretRefMixin(httpHeadersSecretRef) +``` + + + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.withIsDefault ```ts @@ -728,6 +752,34 @@ withResolve(resolve) "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." +## obj spec.initProvider.secureJsonDataEncodedSecretRef + +"(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased." + +### fn spec.initProvider.secureJsonDataEncodedSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.secureJsonDataEncodedSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.secureJsonDataEncodedSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/folder.md b/docs/provider-grafana/0.18/oss/v1alpha1/folder.md similarity index 98% rename from docs/provider-grafana/0.15/oss/v1alpha1/folder.md rename to docs/provider-grafana/0.18/oss/v1alpha1/folder.md index 5ce6ad5584..fabb7905ed 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/folder.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/folder.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/folder/ +permalink: /provider-grafana/0.18/oss/v1alpha1/folder/ --- # oss.v1alpha1.folder @@ -345,7 +345,7 @@ withParentFolderUid(parentFolderUid) withPreventDestroyIfNotEmpty(preventDestroyIfNotEmpty) ``` -"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`." +"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`." ### fn spec.forProvider.withTitle @@ -553,7 +553,7 @@ withParentFolderUid(parentFolderUid) withPreventDestroyIfNotEmpty(preventDestroyIfNotEmpty) ``` -"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`." +"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`." ### fn spec.initProvider.withTitle diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/folderPermission.md b/docs/provider-grafana/0.18/oss/v1alpha1/folderPermission.md similarity index 98% rename from docs/provider-grafana/0.15/oss/v1alpha1/folderPermission.md rename to docs/provider-grafana/0.18/oss/v1alpha1/folderPermission.md index 889efc06ff..b624e49b24 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/folderPermission.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/folderPermission.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/folderPermission/ +permalink: /provider-grafana/0.18/oss/v1alpha1/folderPermission/ --- # oss.v1alpha1.folderPermission -"FolderPermission is the Schema for the FolderPermissions API. Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed." +"FolderPermission is the Schema for the FolderPermissions API. Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/" ## Index @@ -595,7 +595,7 @@ withPermission(permission) withRole(role) ``` -"(String) Manage permissions for Viewer or Editor roles.\nManage permissions for `Viewer` or `Editor` roles." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.forProvider.permissions.withTeamId @@ -997,7 +997,7 @@ withPermission(permission) withRole(role) ``` -"(String) Manage permissions for Viewer or Editor roles.\nManage permissions for `Viewer` or `Editor` roles." +"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`." ### fn spec.initProvider.permissions.withTeamId diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/index.md b/docs/provider-grafana/0.18/oss/v1alpha1/index.md similarity index 89% rename from docs/provider-grafana/0.15/oss/v1alpha1/index.md rename to docs/provider-grafana/0.18/oss/v1alpha1/index.md index 9d80bee5d4..a6c7ab8139 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/ +permalink: /provider-grafana/0.18/oss/v1alpha1/ --- # oss.v1alpha1 @@ -7,7 +7,6 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/ * [annotation](annotation.md) -* [apiKey](apiKey.md) * [dashboard](dashboard.md) * [dashboardPermission](dashboardPermission.md) * [dashboardPublic](dashboardPublic.md) diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/libraryPanel.md b/docs/provider-grafana/0.18/oss/v1alpha1/libraryPanel.md similarity index 98% rename from docs/provider-grafana/0.15/oss/v1alpha1/libraryPanel.md rename to docs/provider-grafana/0.18/oss/v1alpha1/libraryPanel.md index e450676089..6f25d53b14 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/libraryPanel.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/libraryPanel.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/libraryPanel/ +permalink: /provider-grafana/0.18/oss/v1alpha1/libraryPanel/ --- # oss.v1alpha1.libraryPanel @@ -34,7 +34,6 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/libraryPanel/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withFolderId(folderId)`](#fn-specforproviderwithfolderid) * [`fn withFolderUid(folderUid)`](#fn-specforproviderwithfolderuid) * [`fn withModelJson(modelJson)`](#fn-specforproviderwithmodeljson) * [`fn withName(name)`](#fn-specforproviderwithname) @@ -65,7 +64,6 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/libraryPanel/ * [`fn withResolution(resolution)`](#fn-specforproviderorganizationselectorpolicywithresolution) * [`fn withResolve(resolve)`](#fn-specforproviderorganizationselectorpolicywithresolve) * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withFolderId(folderId)`](#fn-specinitproviderwithfolderid) * [`fn withFolderUid(folderUid)`](#fn-specinitproviderwithfolderuid) * [`fn withModelJson(modelJson)`](#fn-specinitproviderwithmodeljson) * [`fn withName(name)`](#fn-specinitproviderwithname) @@ -325,14 +323,6 @@ withManagementPoliciesMixin(managementPolicies) -### fn spec.forProvider.withFolderId - -```ts -withFolderId(folderId) -``` - -"(String, Deprecated) Deprecated. Use folder_uid instead\nDeprecated. Use `folder_uid` instead" - ### fn spec.forProvider.withFolderUid ```ts @@ -375,7 +365,7 @@ withUid(uid) ## obj spec.forProvider.folderRef -"Reference to a Folder in oss to populate folderId." +"Reference to a Folder in oss to populate folderUid." ### fn spec.forProvider.folderRef.withName @@ -407,7 +397,7 @@ withResolve(resolve) ## obj spec.forProvider.folderSelector -"Selector for a Folder in oss to populate folderId." +"Selector for a Folder in oss to populate folderUid." ### fn spec.forProvider.folderSelector.withMatchControllerRef @@ -541,14 +531,6 @@ withResolve(resolve) "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." -### fn spec.initProvider.withFolderId - -```ts -withFolderId(folderId) -``` - -"(String, Deprecated) Deprecated. Use folder_uid instead\nDeprecated. Use `folder_uid` instead" - ### fn spec.initProvider.withFolderUid ```ts @@ -591,7 +573,7 @@ withUid(uid) ## obj spec.initProvider.folderRef -"Reference to a Folder in oss to populate folderId." +"Reference to a Folder in oss to populate folderUid." ### fn spec.initProvider.folderRef.withName @@ -623,7 +605,7 @@ withResolve(resolve) ## obj spec.initProvider.folderSelector -"Selector for a Folder in oss to populate folderId." +"Selector for a Folder in oss to populate folderUid." ### fn spec.initProvider.folderSelector.withMatchControllerRef diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/organization.md b/docs/provider-grafana/0.18/oss/v1alpha1/organization.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/organization.md rename to docs/provider-grafana/0.18/oss/v1alpha1/organization.md index 7ebadf44d3..007aff7b43 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/organization.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/organization.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/organization/ +permalink: /provider-grafana/0.18/oss/v1alpha1/organization/ --- # oss.v1alpha1.organization diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/organizationPreferences.md b/docs/provider-grafana/0.18/oss/v1alpha1/organizationPreferences.md similarity index 97% rename from docs/provider-grafana/0.15/oss/v1alpha1/organizationPreferences.md rename to docs/provider-grafana/0.18/oss/v1alpha1/organizationPreferences.md index 0ab0e41453..10cc885372 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/organizationPreferences.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/organizationPreferences.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/organizationPreferences/ +permalink: /provider-grafana/0.18/oss/v1alpha1/organizationPreferences/ --- # oss.v1alpha1.organizationPreferences @@ -34,7 +34,6 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/organizationPreferences/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) - * [`fn withHomeDashboardId(homeDashboardId)`](#fn-specforproviderwithhomedashboardid) * [`fn withHomeDashboardUid(homeDashboardUid)`](#fn-specforproviderwithhomedashboarduid) * [`fn withOrgId(orgId)`](#fn-specforproviderwithorgid) * [`fn withTheme(theme)`](#fn-specforproviderwiththeme) @@ -53,7 +52,6 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/organizationPreferences/ * [`fn withResolution(resolution)`](#fn-specforproviderorganizationselectorpolicywithresolution) * [`fn withResolve(resolve)`](#fn-specforproviderorganizationselectorpolicywithresolve) * [`obj spec.initProvider`](#obj-specinitprovider) - * [`fn withHomeDashboardId(homeDashboardId)`](#fn-specinitproviderwithhomedashboardid) * [`fn withHomeDashboardUid(homeDashboardUid)`](#fn-specinitproviderwithhomedashboarduid) * [`fn withOrgId(orgId)`](#fn-specinitproviderwithorgid) * [`fn withTheme(theme)`](#fn-specinitproviderwiththeme) @@ -301,14 +299,6 @@ withManagementPoliciesMixin(managementPolicies) -### fn spec.forProvider.withHomeDashboardId - -```ts -withHomeDashboardId(homeDashboardId) -``` - -"(Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead.\nThe Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead." - ### fn spec.forProvider.withHomeDashboardUid ```ts @@ -435,14 +425,6 @@ withResolve(resolve) "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." -### fn spec.initProvider.withHomeDashboardId - -```ts -withHomeDashboardId(homeDashboardId) -``` - -"(Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead.\nThe Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead." - ### fn spec.initProvider.withHomeDashboardUid ```ts diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/playlist.md b/docs/provider-grafana/0.18/oss/v1alpha1/playlist.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/playlist.md rename to docs/provider-grafana/0.18/oss/v1alpha1/playlist.md index e977703876..e1e5385312 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/playlist.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/playlist.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/playlist/ +permalink: /provider-grafana/0.18/oss/v1alpha1/playlist/ --- # oss.v1alpha1.playlist diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccount.md b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccount.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/serviceAccount.md rename to docs/provider-grafana/0.18/oss/v1alpha1/serviceAccount.md index cdf866349d..e235071118 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccount.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccount.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/serviceAccount/ +permalink: /provider-grafana/0.18/oss/v1alpha1/serviceAccount/ --- # oss.v1alpha1.serviceAccount diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountPermission.md b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountPermission.md similarity index 98% rename from docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountPermission.md rename to docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountPermission.md index 4197a55fe4..366dfc77c3 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountPermission.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountPermission.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/serviceAccountPermission/ +permalink: /provider-grafana/0.18/oss/v1alpha1/serviceAccountPermission/ --- # oss.v1alpha1.serviceAccountPermission @@ -503,7 +503,7 @@ withResolve(resolve) withPermission(permission) ``` -"(String) Permission to associate with item. Must be Edit or Admin.\nPermission to associate with item. Must be `Edit` or `Admin`." +"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`." ### fn spec.forProvider.permissions.withTeamId @@ -511,7 +511,7 @@ withPermission(permission) withTeamId(teamId) ``` -"(String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0.\nID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`." +"(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`." ### fn spec.forProvider.permissions.withUserId @@ -519,7 +519,7 @@ withTeamId(teamId) withUserId(userId) ``` -"(String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0.\nID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`." +"(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`." ## obj spec.forProvider.permissions.teamRef @@ -897,7 +897,7 @@ withResolve(resolve) withPermission(permission) ``` -"(String) Permission to associate with item. Must be Edit or Admin.\nPermission to associate with item. Must be `Edit` or `Admin`." +"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`." ### fn spec.initProvider.permissions.withTeamId @@ -905,7 +905,7 @@ withPermission(permission) withTeamId(teamId) ``` -"(String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0.\nID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`." +"(String) ID of the team to manage permissions for. Defaults to 0.\nID of the team to manage permissions for. Defaults to `0`." ### fn spec.initProvider.permissions.withUserId @@ -913,7 +913,7 @@ withTeamId(teamId) withUserId(userId) ``` -"(String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0.\nID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`." +"(String) ID of the user or service account to manage permissions for. Defaults to 0.\nID of the user or service account to manage permissions for. Defaults to `0`." ## obj spec.initProvider.permissions.teamRef diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountToken.md b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountToken.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountToken.md rename to docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountToken.md index a4d1d955fd..de22b114ec 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/serviceAccountToken.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/serviceAccountToken.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/serviceAccountToken/ +permalink: /provider-grafana/0.18/oss/v1alpha1/serviceAccountToken/ --- # oss.v1alpha1.serviceAccountToken diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/ssoSettings.md b/docs/provider-grafana/0.18/oss/v1alpha1/ssoSettings.md similarity index 94% rename from docs/provider-grafana/0.15/oss/v1alpha1/ssoSettings.md rename to docs/provider-grafana/0.18/oss/v1alpha1/ssoSettings.md index de55d5dee3..3c8d5cf104 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/ssoSettings.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/ssoSettings.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/ssoSettings/ +permalink: /provider-grafana/0.18/oss/v1alpha1/ssoSettings/ --- # oss.v1alpha1.ssoSettings -"SsoSettings is the Schema for the SsoSettingss API. Manages Grafana SSO Settings for OAuth2 and SAML. Official documentation https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/" +"SsoSettings is the Schema for the SsoSettingss API. Manages Grafana SSO Settings for OAuth2 and SAML. Support for SAML is currently in preview, it will be available in Grafana Enterprise starting with v11.1. Official documentation https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/" ## Index @@ -109,8 +109,10 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/ssoSettings/ * [`fn withRoleValuesEditor(roleValuesEditor)`](#fn-specforprovidersamlsettingswithrolevalueseditor) * [`fn withRoleValuesGrafanaAdmin(roleValuesGrafanaAdmin)`](#fn-specforprovidersamlsettingswithrolevaluesgrafanaadmin) * [`fn withRoleValuesNone(roleValuesNone)`](#fn-specforprovidersamlsettingswithrolevaluesnone) + * [`fn withRoleValuesViewer(roleValuesViewer)`](#fn-specforprovidersamlsettingswithrolevaluesviewer) * [`fn withSignatureAlgorithm(signatureAlgorithm)`](#fn-specforprovidersamlsettingswithsignaturealgorithm) * [`fn withSingleLogout(singleLogout)`](#fn-specforprovidersamlsettingswithsinglelogout) + * [`fn withSkipOrgRoleSync(skipOrgRoleSync)`](#fn-specforprovidersamlsettingswithskiporgrolesync) * [`obj spec.forProvider.samlSettings.certificateSecretRef`](#obj-specforprovidersamlsettingscertificatesecretref) * [`fn withKey(key)`](#fn-specforprovidersamlsettingscertificatesecretrefwithkey) * [`fn withName(name)`](#fn-specforprovidersamlsettingscertificatesecretrefwithname) @@ -164,6 +166,10 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/ssoSettings/ * [`fn withTokenUrl(tokenUrl)`](#fn-specinitprovideroauth2settingswithtokenurl) * [`fn withUsePkce(usePkce)`](#fn-specinitprovideroauth2settingswithusepkce) * [`fn withUseRefreshToken(useRefreshToken)`](#fn-specinitprovideroauth2settingswithuserefreshtoken) + * [`obj spec.initProvider.oauth2Settings.clientSecretSecretRef`](#obj-specinitprovideroauth2settingsclientsecretsecretref) + * [`fn withKey(key)`](#fn-specinitprovideroauth2settingsclientsecretsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovideroauth2settingsclientsecretsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovideroauth2settingsclientsecretsecretrefwithnamespace) * [`obj spec.initProvider.samlSettings`](#obj-specinitprovidersamlsettings) * [`fn withAllowIdpInitiated(allowIdpInitiated)`](#fn-specinitprovidersamlsettingswithallowidpinitiated) * [`fn withAllowSignUp(allowSignUp)`](#fn-specinitprovidersamlsettingswithallowsignup) @@ -191,8 +197,18 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/ssoSettings/ * [`fn withRoleValuesEditor(roleValuesEditor)`](#fn-specinitprovidersamlsettingswithrolevalueseditor) * [`fn withRoleValuesGrafanaAdmin(roleValuesGrafanaAdmin)`](#fn-specinitprovidersamlsettingswithrolevaluesgrafanaadmin) * [`fn withRoleValuesNone(roleValuesNone)`](#fn-specinitprovidersamlsettingswithrolevaluesnone) + * [`fn withRoleValuesViewer(roleValuesViewer)`](#fn-specinitprovidersamlsettingswithrolevaluesviewer) * [`fn withSignatureAlgorithm(signatureAlgorithm)`](#fn-specinitprovidersamlsettingswithsignaturealgorithm) * [`fn withSingleLogout(singleLogout)`](#fn-specinitprovidersamlsettingswithsinglelogout) + * [`fn withSkipOrgRoleSync(skipOrgRoleSync)`](#fn-specinitprovidersamlsettingswithskiporgrolesync) + * [`obj spec.initProvider.samlSettings.certificateSecretRef`](#obj-specinitprovidersamlsettingscertificatesecretref) + * [`fn withKey(key)`](#fn-specinitprovidersamlsettingscertificatesecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersamlsettingscertificatesecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersamlsettingscertificatesecretrefwithnamespace) + * [`obj spec.initProvider.samlSettings.privateKeySecretRef`](#obj-specinitprovidersamlsettingsprivatekeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersamlsettingsprivatekeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersamlsettingsprivatekeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersamlsettingsprivatekeysecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -517,7 +533,7 @@ withAllowedOrganizations(allowedOrganizations) withApiUrl(apiUrl) ``` -"(String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers." +"(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers." ### fn spec.forProvider.oauth2Settings.withAuthStyle @@ -1017,6 +1033,14 @@ withRoleValuesNone(roleValuesNone) "or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role." +### fn spec.forProvider.samlSettings.withRoleValuesViewer + +```ts +withRoleValuesViewer(roleValuesViewer) +``` + +"or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role." + ### fn spec.forProvider.samlSettings.withSignatureAlgorithm ```ts @@ -1033,6 +1057,14 @@ withSingleLogout(singleLogout) "(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled." +### fn spec.forProvider.samlSettings.withSkipOrgRoleSync + +```ts +withSkipOrgRoleSync(skipOrgRoleSync) +``` + +"(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP." + ## obj spec.forProvider.samlSettings.certificateSecretRef "encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate." @@ -1187,7 +1219,7 @@ withAllowedOrganizations(allowedOrganizations) withApiUrl(apiUrl) ``` -"(String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers." +"(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers." ### fn spec.initProvider.oauth2Settings.withAuthStyle @@ -1447,6 +1479,34 @@ withUseRefreshToken(useRefreshToken) "(Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.\nIf enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider." +## obj spec.initProvider.oauth2Settings.clientSecretSecretRef + +"(String, Sensitive) The client secret of your OAuth2 app.\nThe client secret of your OAuth2 app." + +### fn spec.initProvider.oauth2Settings.clientSecretSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.oauth2Settings.clientSecretSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.oauth2Settings.clientSecretSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.samlSettings "(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\nThe SAML settings set. Required for the saml provider." @@ -1659,6 +1719,14 @@ withRoleValuesNone(roleValuesNone) "or space-separated roles which will be mapped into the None role.\nList of comma- or space-separated roles which will be mapped into the None role." +### fn spec.initProvider.samlSettings.withRoleValuesViewer + +```ts +withRoleValuesViewer(roleValuesViewer) +``` + +"or space-separated roles which will be mapped into the Viewer role.\nList of comma- or space-separated roles which will be mapped into the Viewer role." + ### fn spec.initProvider.samlSettings.withSignatureAlgorithm ```ts @@ -1675,6 +1743,70 @@ withSingleLogout(singleLogout) "(Boolean) Whether SAML Single Logout is enabled.\nWhether SAML Single Logout is enabled." +### fn spec.initProvider.samlSettings.withSkipOrgRoleSync + +```ts +withSkipOrgRoleSync(skipOrgRoleSync) +``` + +"(Boolean) Prevent synchronizing users’ organization roles from your IdP.\nPrevent synchronizing users’ organization roles from your IdP." + +## obj spec.initProvider.samlSettings.certificateSecretRef + +"encoded string for the SP X.509 certificate.\nBase64-encoded string for the SP X.509 certificate." + +### fn spec.initProvider.samlSettings.certificateSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.samlSettings.certificateSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.samlSettings.certificateSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + +## obj spec.initProvider.samlSettings.privateKeySecretRef + +"encoded string for the SP private key.\nBase64-encoded string for the SP private key." + +### fn spec.initProvider.samlSettings.privateKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.samlSettings.privateKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.samlSettings.privateKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/team.md b/docs/provider-grafana/0.18/oss/v1alpha1/team.md similarity index 99% rename from docs/provider-grafana/0.15/oss/v1alpha1/team.md rename to docs/provider-grafana/0.18/oss/v1alpha1/team.md index 347118acc3..a436fd407b 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/team.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/team.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/team/ +permalink: /provider-grafana/0.18/oss/v1alpha1/team/ --- # oss.v1alpha1.team diff --git a/docs/provider-grafana/0.15/oss/v1alpha1/user.md b/docs/provider-grafana/0.18/oss/v1alpha1/user.md similarity index 96% rename from docs/provider-grafana/0.15/oss/v1alpha1/user.md rename to docs/provider-grafana/0.18/oss/v1alpha1/user.md index 12a001e223..38b10dfdae 100644 --- a/docs/provider-grafana/0.15/oss/v1alpha1/user.md +++ b/docs/provider-grafana/0.18/oss/v1alpha1/user.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/oss/v1alpha1/user/ +permalink: /provider-grafana/0.18/oss/v1alpha1/user/ --- # oss.v1alpha1.user @@ -47,6 +47,10 @@ permalink: /provider-grafana/0.15/oss/v1alpha1/user/ * [`fn withIsAdmin(isAdmin)`](#fn-specinitproviderwithisadmin) * [`fn withLogin(login)`](#fn-specinitproviderwithlogin) * [`fn withName(name)`](#fn-specinitproviderwithname) + * [`obj spec.initProvider.passwordSecretRef`](#obj-specinitproviderpasswordsecretref) + * [`fn withKey(key)`](#fn-specinitproviderpasswordsecretrefwithkey) + * [`fn withName(name)`](#fn-specinitproviderpasswordsecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitproviderpasswordsecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -373,6 +377,34 @@ withName(name) "(String) The display name for the Grafana user.\nThe display name for the Grafana user." +## obj spec.initProvider.passwordSecretRef + +"(String, Sensitive) The password for the Grafana user.\nThe password for the Grafana user." + +### fn spec.initProvider.passwordSecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.passwordSecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.passwordSecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/slo/index.md b/docs/provider-grafana/0.18/slo/index.md similarity index 55% rename from docs/provider-grafana/0.15/slo/index.md rename to docs/provider-grafana/0.18/slo/index.md index e270320273..97e72a969a 100644 --- a/docs/provider-grafana/0.15/slo/index.md +++ b/docs/provider-grafana/0.18/slo/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/slo/ +permalink: /provider-grafana/0.18/slo/ --- # slo diff --git a/docs/provider-grafana/0.18/slo/v1alpha1/index.md b/docs/provider-grafana/0.18/slo/v1alpha1/index.md new file mode 100644 index 0000000000..1291fcb664 --- /dev/null +++ b/docs/provider-grafana/0.18/slo/v1alpha1/index.md @@ -0,0 +1,9 @@ +--- +permalink: /provider-grafana/0.18/slo/v1alpha1/ +--- + +# slo.v1alpha1 + + + +* [slo](slo.md) \ No newline at end of file diff --git a/docs/provider-grafana/0.15/slo/v1alpha1/slo.md b/docs/provider-grafana/0.18/slo/v1alpha1/slo.md similarity index 96% rename from docs/provider-grafana/0.15/slo/v1alpha1/slo.md rename to docs/provider-grafana/0.18/slo/v1alpha1/slo.md index 493fe47caf..3d3e37cb79 100644 --- a/docs/provider-grafana/0.15/slo/v1alpha1/slo.md +++ b/docs/provider-grafana/0.18/slo/v1alpha1/slo.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ +permalink: /provider-grafana/0.18/slo/v1alpha1/slo/ --- # slo.v1alpha1.slo @@ -39,6 +39,7 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withDescription(description)`](#fn-specforproviderwithdescription) * [`fn withDestinationDatasource(destinationDatasource)`](#fn-specforproviderwithdestinationdatasource) * [`fn withDestinationDatasourceMixin(destinationDatasource)`](#fn-specforproviderwithdestinationdatasourcemixin) + * [`fn withFolderUid(folderUid)`](#fn-specforproviderwithfolderuid) * [`fn withLabel(label)`](#fn-specforproviderwithlabel) * [`fn withLabelMixin(label)`](#fn-specforproviderwithlabelmixin) * [`fn withName(name)`](#fn-specforproviderwithname) @@ -47,6 +48,8 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withQuery(query)`](#fn-specforproviderwithquery) * [`fn withQueryMixin(query)`](#fn-specforproviderwithquerymixin) * [`obj spec.forProvider.alerting`](#obj-specforprovideralerting) + * [`fn withAdvancedOptions(advancedOptions)`](#fn-specforprovideralertingwithadvancedoptions) + * [`fn withAdvancedOptionsMixin(advancedOptions)`](#fn-specforprovideralertingwithadvancedoptionsmixin) * [`fn withAnnotation(annotation)`](#fn-specforprovideralertingwithannotation) * [`fn withAnnotationMixin(annotation)`](#fn-specforprovideralertingwithannotationmixin) * [`fn withFastburn(fastburn)`](#fn-specforprovideralertingwithfastburn) @@ -55,6 +58,8 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withLabelMixin(label)`](#fn-specforprovideralertingwithlabelmixin) * [`fn withSlowburn(slowburn)`](#fn-specforprovideralertingwithslowburn) * [`fn withSlowburnMixin(slowburn)`](#fn-specforprovideralertingwithslowburnmixin) + * [`obj spec.forProvider.alerting.advancedOptions`](#obj-specforprovideralertingadvancedoptions) + * [`fn withMinFailures(minFailures)`](#fn-specforprovideralertingadvancedoptionswithminfailures) * [`obj spec.forProvider.alerting.annotation`](#obj-specforprovideralertingannotation) * [`fn withKey(key)`](#fn-specforprovideralertingannotationwithkey) * [`fn withValue(value)`](#fn-specforprovideralertingannotationwithvalue) @@ -122,6 +127,7 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withDescription(description)`](#fn-specinitproviderwithdescription) * [`fn withDestinationDatasource(destinationDatasource)`](#fn-specinitproviderwithdestinationdatasource) * [`fn withDestinationDatasourceMixin(destinationDatasource)`](#fn-specinitproviderwithdestinationdatasourcemixin) + * [`fn withFolderUid(folderUid)`](#fn-specinitproviderwithfolderuid) * [`fn withLabel(label)`](#fn-specinitproviderwithlabel) * [`fn withLabelMixin(label)`](#fn-specinitproviderwithlabelmixin) * [`fn withName(name)`](#fn-specinitproviderwithname) @@ -130,6 +136,8 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withQuery(query)`](#fn-specinitproviderwithquery) * [`fn withQueryMixin(query)`](#fn-specinitproviderwithquerymixin) * [`obj spec.initProvider.alerting`](#obj-specinitprovideralerting) + * [`fn withAdvancedOptions(advancedOptions)`](#fn-specinitprovideralertingwithadvancedoptions) + * [`fn withAdvancedOptionsMixin(advancedOptions)`](#fn-specinitprovideralertingwithadvancedoptionsmixin) * [`fn withAnnotation(annotation)`](#fn-specinitprovideralertingwithannotation) * [`fn withAnnotationMixin(annotation)`](#fn-specinitprovideralertingwithannotationmixin) * [`fn withFastburn(fastburn)`](#fn-specinitprovideralertingwithfastburn) @@ -138,6 +146,8 @@ permalink: /provider-grafana/0.15/slo/v1alpha1/slo/ * [`fn withLabelMixin(label)`](#fn-specinitprovideralertingwithlabelmixin) * [`fn withSlowburn(slowburn)`](#fn-specinitprovideralertingwithslowburn) * [`fn withSlowburnMixin(slowburn)`](#fn-specinitprovideralertingwithslowburnmixin) + * [`obj spec.initProvider.alerting.advancedOptions`](#obj-specinitprovideralertingadvancedoptions) + * [`fn withMinFailures(minFailures)`](#fn-specinitprovideralertingadvancedoptionswithminfailures) * [`obj spec.initProvider.alerting.annotation`](#obj-specinitprovideralertingannotation) * [`fn withKey(key)`](#fn-specinitprovideralertingannotationwithkey) * [`fn withValue(value)`](#fn-specinitprovideralertingannotationwithvalue) @@ -473,6 +483,14 @@ withDestinationDatasourceMixin(destinationDatasource) **Note:** This function appends passed data to existing values +### fn spec.forProvider.withFolderUid + +```ts +withFolderUid(folderUid) +``` + +"(String) UID for the SLO folder\nUID for the SLO folder" + ### fn spec.forProvider.withLabel ```ts @@ -539,6 +557,24 @@ withQueryMixin(query) "term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating." +### fn spec.forProvider.alerting.withAdvancedOptions + +```ts +withAdvancedOptions(advancedOptions) +``` + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +### fn spec.forProvider.alerting.withAdvancedOptionsMixin + +```ts +withAdvancedOptionsMixin(advancedOptions) +``` + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +**Note:** This function appends passed data to existing values + ### fn spec.forProvider.alerting.withAnnotation ```ts @@ -611,6 +647,18 @@ withSlowburnMixin(slowburn) **Note:** This function appends passed data to existing values +## obj spec.forProvider.alerting.advancedOptions + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +### fn spec.forProvider.alerting.advancedOptions.withMinFailures + +```ts +withMinFailures(minFailures) +``` + +"(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert" + ## obj spec.forProvider.alerting.annotation "(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules." @@ -1091,6 +1139,14 @@ withDestinationDatasourceMixin(destinationDatasource) **Note:** This function appends passed data to existing values +### fn spec.initProvider.withFolderUid + +```ts +withFolderUid(folderUid) +``` + +"(String) UID for the SLO folder\nUID for the SLO folder" + ### fn spec.initProvider.withLabel ```ts @@ -1157,6 +1213,24 @@ withQueryMixin(query) "term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\nConfigures the alerting rules that will be generated for each\ntime window associated with the SLO. Grafana SLOs can generate\nalerts when the short-term error budget burn is very high, the\nlong-term error budget burn rate is high, or when the remaining\nerror budget is below a certain threshold. Annotations and Labels support templating." +### fn spec.initProvider.alerting.withAdvancedOptions + +```ts +withAdvancedOptions(advancedOptions) +``` + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +### fn spec.initProvider.alerting.withAdvancedOptionsMixin + +```ts +withAdvancedOptionsMixin(advancedOptions) +``` + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.alerting.withAnnotation ```ts @@ -1229,6 +1303,18 @@ withSlowburnMixin(slowburn) **Note:** This function appends passed data to existing values +## obj spec.initProvider.alerting.advancedOptions + +"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\nAdvanced Options for Alert Rules" + +### fn spec.initProvider.alerting.advancedOptions.withMinFailures + +```ts +withMinFailures(minFailures) +``` + +"(Number) Minimum number of failed events to trigger an alert\nMinimum number of failed events to trigger an alert" + ## obj spec.initProvider.alerting.annotation "(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\nAnnotations will be attached to all alerts generated by any of these rules." diff --git a/docs/provider-grafana/0.15/sm/index.md b/docs/provider-grafana/0.18/sm/index.md similarity index 55% rename from docs/provider-grafana/0.15/sm/index.md rename to docs/provider-grafana/0.18/sm/index.md index 9b3c3e78d0..c860dedfa8 100644 --- a/docs/provider-grafana/0.15/sm/index.md +++ b/docs/provider-grafana/0.18/sm/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/sm/ +permalink: /provider-grafana/0.18/sm/ --- # sm diff --git a/docs/provider-grafana/0.15/sm/v1alpha1/check.md b/docs/provider-grafana/0.18/sm/v1alpha1/check.md similarity index 89% rename from docs/provider-grafana/0.15/sm/v1alpha1/check.md rename to docs/provider-grafana/0.18/sm/v1alpha1/check.md index 5a62245ea0..b1c1b80b12 100644 --- a/docs/provider-grafana/0.15/sm/v1alpha1/check.md +++ b/docs/provider-grafana/0.18/sm/v1alpha1/check.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/sm/v1alpha1/check/ +permalink: /provider-grafana/0.18/sm/v1alpha1/check/ --- # sm.v1alpha1.check -"Check is the Schema for the Checks API. Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/create-checks/checks/" +"Check is the Schema for the Checks API. Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/" ## Index @@ -50,12 +50,16 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`obj spec.forProvider.settings`](#obj-specforprovidersettings) * [`fn withDns(dns)`](#fn-specforprovidersettingswithdns) * [`fn withDnsMixin(dns)`](#fn-specforprovidersettingswithdnsmixin) + * [`fn withGrpc(grpc)`](#fn-specforprovidersettingswithgrpc) + * [`fn withGrpcMixin(grpc)`](#fn-specforprovidersettingswithgrpcmixin) * [`fn withHttp(http)`](#fn-specforprovidersettingswithhttp) * [`fn withHttpMixin(http)`](#fn-specforprovidersettingswithhttpmixin) * [`fn withMultihttp(multihttp)`](#fn-specforprovidersettingswithmultihttp) * [`fn withMultihttpMixin(multihttp)`](#fn-specforprovidersettingswithmultihttpmixin) * [`fn withPing(ping)`](#fn-specforprovidersettingswithping) * [`fn withPingMixin(ping)`](#fn-specforprovidersettingswithpingmixin) + * [`fn withScripted(scripted)`](#fn-specforprovidersettingswithscripted) + * [`fn withScriptedMixin(scripted)`](#fn-specforprovidersettingswithscriptedmixin) * [`fn withTcp(tcp)`](#fn-specforprovidersettingswithtcp) * [`fn withTcpMixin(tcp)`](#fn-specforprovidersettingswithtcpmixin) * [`fn withTraceroute(traceroute)`](#fn-specforprovidersettingswithtraceroute) @@ -90,6 +94,21 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withFailIfMatchesRegexpMixin(failIfMatchesRegexp)`](#fn-specforprovidersettingsdnsvalidateauthorityrrswithfailifmatchesregexpmixin) * [`fn withFailIfNotMatchesRegexp(failIfNotMatchesRegexp)`](#fn-specforprovidersettingsdnsvalidateauthorityrrswithfailifnotmatchesregexp) * [`fn withFailIfNotMatchesRegexpMixin(failIfNotMatchesRegexp)`](#fn-specforprovidersettingsdnsvalidateauthorityrrswithfailifnotmatchesregexpmixin) + * [`obj spec.forProvider.settings.grpc`](#obj-specforprovidersettingsgrpc) + * [`fn withIpVersion(ipVersion)`](#fn-specforprovidersettingsgrpcwithipversion) + * [`fn withService(service)`](#fn-specforprovidersettingsgrpcwithservice) + * [`fn withTls(tls)`](#fn-specforprovidersettingsgrpcwithtls) + * [`fn withTlsConfig(tlsConfig)`](#fn-specforprovidersettingsgrpcwithtlsconfig) + * [`fn withTlsConfigMixin(tlsConfig)`](#fn-specforprovidersettingsgrpcwithtlsconfigmixin) + * [`obj spec.forProvider.settings.grpc.tlsConfig`](#obj-specforprovidersettingsgrpctlsconfig) + * [`fn withCaCert(caCert)`](#fn-specforprovidersettingsgrpctlsconfigwithcacert) + * [`fn withClientCert(clientCert)`](#fn-specforprovidersettingsgrpctlsconfigwithclientcert) + * [`fn withInsecureSkipVerify(insecureSkipVerify)`](#fn-specforprovidersettingsgrpctlsconfigwithinsecureskipverify) + * [`fn withServerName(serverName)`](#fn-specforprovidersettingsgrpctlsconfigwithservername) + * [`obj spec.forProvider.settings.grpc.tlsConfig.clientKeySecretRef`](#obj-specforprovidersettingsgrpctlsconfigclientkeysecretref) + * [`fn withKey(key)`](#fn-specforprovidersettingsgrpctlsconfigclientkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specforprovidersettingsgrpctlsconfigclientkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specforprovidersettingsgrpctlsconfigclientkeysecretrefwithnamespace) * [`obj spec.forProvider.settings.http`](#obj-specforprovidersettingshttp) * [`fn withBasicAuth(basicAuth)`](#fn-specforprovidersettingshttpwithbasicauth) * [`fn withBasicAuthMixin(basicAuth)`](#fn-specforprovidersettingshttpwithbasicauthmixin) @@ -185,6 +204,8 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withIpVersion(ipVersion)`](#fn-specforprovidersettingspingwithipversion) * [`fn withPayloadSize(payloadSize)`](#fn-specforprovidersettingspingwithpayloadsize) * [`fn withSourceIpAddress(sourceIpAddress)`](#fn-specforprovidersettingspingwithsourceipaddress) + * [`obj spec.forProvider.settings.scripted`](#obj-specforprovidersettingsscripted) + * [`fn withScript(script)`](#fn-specforprovidersettingsscriptedwithscript) * [`obj spec.forProvider.settings.tcp`](#obj-specforprovidersettingstcp) * [`fn withIpVersion(ipVersion)`](#fn-specforprovidersettingstcpwithipversion) * [`fn withQueryResponse(queryResponse)`](#fn-specforprovidersettingstcpwithqueryresponse) @@ -227,12 +248,16 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`obj spec.initProvider.settings`](#obj-specinitprovidersettings) * [`fn withDns(dns)`](#fn-specinitprovidersettingswithdns) * [`fn withDnsMixin(dns)`](#fn-specinitprovidersettingswithdnsmixin) + * [`fn withGrpc(grpc)`](#fn-specinitprovidersettingswithgrpc) + * [`fn withGrpcMixin(grpc)`](#fn-specinitprovidersettingswithgrpcmixin) * [`fn withHttp(http)`](#fn-specinitprovidersettingswithhttp) * [`fn withHttpMixin(http)`](#fn-specinitprovidersettingswithhttpmixin) * [`fn withMultihttp(multihttp)`](#fn-specinitprovidersettingswithmultihttp) * [`fn withMultihttpMixin(multihttp)`](#fn-specinitprovidersettingswithmultihttpmixin) * [`fn withPing(ping)`](#fn-specinitprovidersettingswithping) * [`fn withPingMixin(ping)`](#fn-specinitprovidersettingswithpingmixin) + * [`fn withScripted(scripted)`](#fn-specinitprovidersettingswithscripted) + * [`fn withScriptedMixin(scripted)`](#fn-specinitprovidersettingswithscriptedmixin) * [`fn withTcp(tcp)`](#fn-specinitprovidersettingswithtcp) * [`fn withTcpMixin(tcp)`](#fn-specinitprovidersettingswithtcpmixin) * [`fn withTraceroute(traceroute)`](#fn-specinitprovidersettingswithtraceroute) @@ -267,6 +292,21 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withFailIfMatchesRegexpMixin(failIfMatchesRegexp)`](#fn-specinitprovidersettingsdnsvalidateauthorityrrswithfailifmatchesregexpmixin) * [`fn withFailIfNotMatchesRegexp(failIfNotMatchesRegexp)`](#fn-specinitprovidersettingsdnsvalidateauthorityrrswithfailifnotmatchesregexp) * [`fn withFailIfNotMatchesRegexpMixin(failIfNotMatchesRegexp)`](#fn-specinitprovidersettingsdnsvalidateauthorityrrswithfailifnotmatchesregexpmixin) + * [`obj spec.initProvider.settings.grpc`](#obj-specinitprovidersettingsgrpc) + * [`fn withIpVersion(ipVersion)`](#fn-specinitprovidersettingsgrpcwithipversion) + * [`fn withService(service)`](#fn-specinitprovidersettingsgrpcwithservice) + * [`fn withTls(tls)`](#fn-specinitprovidersettingsgrpcwithtls) + * [`fn withTlsConfig(tlsConfig)`](#fn-specinitprovidersettingsgrpcwithtlsconfig) + * [`fn withTlsConfigMixin(tlsConfig)`](#fn-specinitprovidersettingsgrpcwithtlsconfigmixin) + * [`obj spec.initProvider.settings.grpc.tlsConfig`](#obj-specinitprovidersettingsgrpctlsconfig) + * [`fn withCaCert(caCert)`](#fn-specinitprovidersettingsgrpctlsconfigwithcacert) + * [`fn withClientCert(clientCert)`](#fn-specinitprovidersettingsgrpctlsconfigwithclientcert) + * [`fn withInsecureSkipVerify(insecureSkipVerify)`](#fn-specinitprovidersettingsgrpctlsconfigwithinsecureskipverify) + * [`fn withServerName(serverName)`](#fn-specinitprovidersettingsgrpctlsconfigwithservername) + * [`obj spec.initProvider.settings.grpc.tlsConfig.clientKeySecretRef`](#obj-specinitprovidersettingsgrpctlsconfigclientkeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersettingsgrpctlsconfigclientkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersettingsgrpctlsconfigclientkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersettingsgrpctlsconfigclientkeysecretrefwithnamespace) * [`obj spec.initProvider.settings.http`](#obj-specinitprovidersettingshttp) * [`fn withBasicAuth(basicAuth)`](#fn-specinitprovidersettingshttpwithbasicauth) * [`fn withBasicAuthMixin(basicAuth)`](#fn-specinitprovidersettingshttpwithbasicauthmixin) @@ -313,6 +353,10 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withClientCert(clientCert)`](#fn-specinitprovidersettingshttptlsconfigwithclientcert) * [`fn withInsecureSkipVerify(insecureSkipVerify)`](#fn-specinitprovidersettingshttptlsconfigwithinsecureskipverify) * [`fn withServerName(serverName)`](#fn-specinitprovidersettingshttptlsconfigwithservername) + * [`obj spec.initProvider.settings.http.tlsConfig.clientKeySecretRef`](#obj-specinitprovidersettingshttptlsconfigclientkeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersettingshttptlsconfigclientkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersettingshttptlsconfigclientkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersettingshttptlsconfigclientkeysecretrefwithnamespace) * [`obj spec.initProvider.settings.multihttp`](#obj-specinitprovidersettingsmultihttp) * [`fn withEntries(entries)`](#fn-specinitprovidersettingsmultihttpwithentries) * [`fn withEntriesMixin(entries)`](#fn-specinitprovidersettingsmultihttpwithentriesmixin) @@ -358,6 +402,8 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withIpVersion(ipVersion)`](#fn-specinitprovidersettingspingwithipversion) * [`fn withPayloadSize(payloadSize)`](#fn-specinitprovidersettingspingwithpayloadsize) * [`fn withSourceIpAddress(sourceIpAddress)`](#fn-specinitprovidersettingspingwithsourceipaddress) + * [`obj spec.initProvider.settings.scripted`](#obj-specinitprovidersettingsscripted) + * [`fn withScript(script)`](#fn-specinitprovidersettingsscriptedwithscript) * [`obj spec.initProvider.settings.tcp`](#obj-specinitprovidersettingstcp) * [`fn withIpVersion(ipVersion)`](#fn-specinitprovidersettingstcpwithipversion) * [`fn withQueryResponse(queryResponse)`](#fn-specinitprovidersettingstcpwithqueryresponse) @@ -375,6 +421,10 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/check/ * [`fn withClientCert(clientCert)`](#fn-specinitprovidersettingstcptlsconfigwithclientcert) * [`fn withInsecureSkipVerify(insecureSkipVerify)`](#fn-specinitprovidersettingstcptlsconfigwithinsecureskipverify) * [`fn withServerName(serverName)`](#fn-specinitprovidersettingstcptlsconfigwithservername) + * [`obj spec.initProvider.settings.tcp.tlsConfig.clientKeySecretRef`](#obj-specinitprovidersettingstcptlsconfigclientkeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidersettingstcptlsconfigclientkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidersettingstcptlsconfigclientkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidersettingstcptlsconfigclientkeysecretrefwithnamespace) * [`obj spec.initProvider.settings.traceroute`](#obj-specinitprovidersettingstraceroute) * [`fn withMaxHops(maxHops)`](#fn-specinitprovidersettingstraceroutewithmaxhops) * [`fn withMaxUnknownHops(maxUnknownHops)`](#fn-specinitprovidersettingstraceroutewithmaxunknownhops) @@ -615,7 +665,7 @@ withManagementPoliciesMixin(managementPolicies) withAlertSensitivity(alertSensitivity) ``` -"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`." +"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`." ### fn spec.forProvider.withBasicMetricsOnly @@ -639,7 +689,7 @@ withEnabled(enabled) withFrequency(frequency) ``` -"(Number) How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to `60000`." +"(Number) How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`." ### fn spec.forProvider.withJob @@ -741,6 +791,24 @@ withDnsMixin(dns) **Note:** This function appends passed data to existing values +### fn spec.forProvider.settings.withGrpc + +```ts +withGrpc(grpc) +``` + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +### fn spec.forProvider.settings.withGrpcMixin + +```ts +withGrpcMixin(grpc) +``` + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +**Note:** This function appends passed data to existing values + ### fn spec.forProvider.settings.withHttp ```ts @@ -795,6 +863,24 @@ withPingMixin(ping) **Note:** This function appends passed data to existing values +### fn spec.forProvider.settings.withScripted + +```ts +withScripted(scripted) +``` + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +### fn spec.forProvider.settings.withScriptedMixin + +```ts +withScriptedMixin(scripted) +``` + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +**Note:** This function appends passed data to existing values + ### fn spec.forProvider.settings.withTcp ```ts @@ -1075,6 +1161,116 @@ withFailIfNotMatchesRegexpMixin(failIfNotMatchesRegexp) **Note:** This function appends passed data to existing values +## obj spec.forProvider.settings.grpc + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +### fn spec.forProvider.settings.grpc.withIpVersion + +```ts +withIpVersion(ipVersion) +``` + +"(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." + +### fn spec.forProvider.settings.grpc.withService + +```ts +withService(service) +``` + +"(String) gRPC service.\ngRPC service." + +### fn spec.forProvider.settings.grpc.withTls + +```ts +withTls(tls) +``` + +"(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`." + +### fn spec.forProvider.settings.grpc.withTlsConfig + +```ts +withTlsConfig(tlsConfig) +``` + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +### fn spec.forProvider.settings.grpc.withTlsConfigMixin + +```ts +withTlsConfigMixin(tlsConfig) +``` + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +**Note:** This function appends passed data to existing values + +## obj spec.forProvider.settings.grpc.tlsConfig + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +### fn spec.forProvider.settings.grpc.tlsConfig.withCaCert + +```ts +withCaCert(caCert) +``` + +"(String) CA certificate in PEM format.\nCA certificate in PEM format." + +### fn spec.forProvider.settings.grpc.tlsConfig.withClientCert + +```ts +withClientCert(clientCert) +``` + +"(String) Client certificate in PEM format.\nClient certificate in PEM format." + +### fn spec.forProvider.settings.grpc.tlsConfig.withInsecureSkipVerify + +```ts +withInsecureSkipVerify(insecureSkipVerify) +``` + +"(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`." + +### fn spec.forProvider.settings.grpc.tlsConfig.withServerName + +```ts +withServerName(serverName) +``` + +"(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets." + +## obj spec.forProvider.settings.grpc.tlsConfig.clientKeySecretRef + +"(String, Sensitive) Client key in PEM format.\nClient key in PEM format." + +### fn spec.forProvider.settings.grpc.tlsConfig.clientKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.forProvider.settings.grpc.tlsConfig.clientKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.forProvider.settings.grpc.tlsConfig.clientKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.forProvider.settings.http "(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https)." @@ -1809,6 +2005,18 @@ withSourceIpAddress(sourceIpAddress) "(String) Source IP address.\nSource IP address." +## obj spec.forProvider.settings.scripted + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +### fn spec.forProvider.settings.scripted.withScript + +```ts +withScript(script) +``` + +"(String)" + ## obj spec.forProvider.settings.tcp "(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." @@ -2003,7 +2211,7 @@ withPtrLookup(ptrLookup) withAlertSensitivity(alertSensitivity) ``` -"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`." +"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`." ### fn spec.initProvider.withBasicMetricsOnly @@ -2027,7 +2235,7 @@ withEnabled(enabled) withFrequency(frequency) ``` -"(Number) How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to `60000`." +"(Number) How often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\nHow often the check runs in milliseconds (the value is not truly a \"frequency\" but a \"period\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`." ### fn spec.initProvider.withJob @@ -2129,6 +2337,24 @@ withDnsMixin(dns) **Note:** This function appends passed data to existing values +### fn spec.initProvider.settings.withGrpc + +```ts +withGrpc(grpc) +``` + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +### fn spec.initProvider.settings.withGrpcMixin + +```ts +withGrpcMixin(grpc) +``` + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.settings.withHttp ```ts @@ -2183,6 +2409,24 @@ withPingMixin(ping) **Note:** This function appends passed data to existing values +### fn spec.initProvider.settings.withScripted + +```ts +withScripted(scripted) +``` + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +### fn spec.initProvider.settings.withScriptedMixin + +```ts +withScriptedMixin(scripted) +``` + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +**Note:** This function appends passed data to existing values + ### fn spec.initProvider.settings.withTcp ```ts @@ -2463,6 +2707,116 @@ withFailIfNotMatchesRegexpMixin(failIfNotMatchesRegexp) **Note:** This function appends passed data to existing values +## obj spec.initProvider.settings.grpc + +"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." + +### fn spec.initProvider.settings.grpc.withIpVersion + +```ts +withIpVersion(ipVersion) +``` + +"(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`." + +### fn spec.initProvider.settings.grpc.withService + +```ts +withService(service) +``` + +"(String) gRPC service.\ngRPC service." + +### fn spec.initProvider.settings.grpc.withTls + +```ts +withTls(tls) +``` + +"(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\nWhether or not TLS is used when the connection is initiated. Defaults to `false`." + +### fn spec.initProvider.settings.grpc.withTlsConfig + +```ts +withTlsConfig(tlsConfig) +``` + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +### fn spec.initProvider.settings.grpc.withTlsConfigMixin + +```ts +withTlsConfigMixin(tlsConfig) +``` + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +**Note:** This function appends passed data to existing values + +## obj spec.initProvider.settings.grpc.tlsConfig + +"(Block Set, Max: 1) TLS config. (see below for nested schema)\nTLS config." + +### fn spec.initProvider.settings.grpc.tlsConfig.withCaCert + +```ts +withCaCert(caCert) +``` + +"(String) CA certificate in PEM format.\nCA certificate in PEM format." + +### fn spec.initProvider.settings.grpc.tlsConfig.withClientCert + +```ts +withClientCert(clientCert) +``` + +"(String) Client certificate in PEM format.\nClient certificate in PEM format." + +### fn spec.initProvider.settings.grpc.tlsConfig.withInsecureSkipVerify + +```ts +withInsecureSkipVerify(insecureSkipVerify) +``` + +"(Boolean) Disable target certificate validation. Defaults to false.\nDisable target certificate validation. Defaults to `false`." + +### fn spec.initProvider.settings.grpc.tlsConfig.withServerName + +```ts +withServerName(serverName) +``` + +"(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets." + +## obj spec.initProvider.settings.grpc.tlsConfig.clientKeySecretRef + +"(String, Sensitive) Client key in PEM format.\nClient key in PEM format." + +### fn spec.initProvider.settings.grpc.tlsConfig.clientKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.settings.grpc.tlsConfig.clientKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.settings.grpc.tlsConfig.clientKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.settings.http "(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\nSettings for HTTP check. The target must be a URL (http or https)." @@ -2831,6 +3185,34 @@ withServerName(serverName) "(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets." +## obj spec.initProvider.settings.http.tlsConfig.clientKeySecretRef + +"(String, Sensitive) Client key in PEM format.\nClient key in PEM format." + +### fn spec.initProvider.settings.http.tlsConfig.clientKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.settings.http.tlsConfig.clientKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.settings.http.tlsConfig.clientKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.settings.multihttp "(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema)\nSettings for MultiHTTP check. The target must be a URL (http or https)" @@ -3169,6 +3551,18 @@ withSourceIpAddress(sourceIpAddress) "(String) Source IP address.\nSource IP address." +## obj spec.initProvider.settings.scripted + +"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/." + +### fn spec.initProvider.settings.scripted.withScript + +```ts +withScript(script) +``` + +"(String)" + ## obj spec.initProvider.settings.tcp "(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address." @@ -3297,6 +3691,34 @@ withServerName(serverName) "(String) Used to verify the hostname for the targets.\nUsed to verify the hostname for the targets." +## obj spec.initProvider.settings.tcp.tlsConfig.clientKeySecretRef + +"(String, Sensitive) Client key in PEM format.\nClient key in PEM format." + +### fn spec.initProvider.settings.tcp.tlsConfig.clientKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.settings.tcp.tlsConfig.clientKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.settings.tcp.tlsConfig.clientKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.initProvider.settings.traceroute "(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\nSettings for traceroute check. The target must be a valid hostname or IP address" diff --git a/docs/provider-grafana/0.15/sm/v1alpha1/index.md b/docs/provider-grafana/0.18/sm/v1alpha1/index.md similarity index 67% rename from docs/provider-grafana/0.15/sm/v1alpha1/index.md rename to docs/provider-grafana/0.18/sm/v1alpha1/index.md index 79ef36f99b..6753e5d1a0 100644 --- a/docs/provider-grafana/0.15/sm/v1alpha1/index.md +++ b/docs/provider-grafana/0.18/sm/v1alpha1/index.md @@ -1,5 +1,5 @@ --- -permalink: /provider-grafana/0.15/sm/v1alpha1/ +permalink: /provider-grafana/0.18/sm/v1alpha1/ --- # sm.v1alpha1 diff --git a/docs/provider-grafana/0.15/sm/v1alpha1/installation.md b/docs/provider-grafana/0.18/sm/v1alpha1/installation.md similarity index 91% rename from docs/provider-grafana/0.15/sm/v1alpha1/installation.md rename to docs/provider-grafana/0.18/sm/v1alpha1/installation.md index 6318810e8f..364cd4578c 100644 --- a/docs/provider-grafana/0.15/sm/v1alpha1/installation.md +++ b/docs/provider-grafana/0.18/sm/v1alpha1/installation.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/sm/v1alpha1/installation/ +permalink: /provider-grafana/0.18/sm/v1alpha1/installation/ --- # sm.v1alpha1.installation -"Installation is the Schema for the Installations API. Sets up Synthetic Monitoring on a Grafana cloud stack and generates a token. Once a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring. This resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues. Note that this resource must be used on a provider configured with Grafana Cloud credentials. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/installation/API documentation https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall Required access policy scopes: stacks:read" +"Installation is the Schema for the Installations API. Sets up Synthetic Monitoring on a Grafana cloud stack and generates a token. Once a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring. This resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues. Note that this resource must be used on a provider configured with Grafana Cloud credentials. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/API documentation https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall Required access policy scopes: stacks:read" ## Index @@ -67,6 +67,10 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/installation/ * [`obj spec.initProvider.cloudStackSelector.policy`](#obj-specinitprovidercloudstackselectorpolicy) * [`fn withResolution(resolution)`](#fn-specinitprovidercloudstackselectorpolicywithresolution) * [`fn withResolve(resolve)`](#fn-specinitprovidercloudstackselectorpolicywithresolve) + * [`obj spec.initProvider.metricsPublisherKeySecretRef`](#obj-specinitprovidermetricspublisherkeysecretref) + * [`fn withKey(key)`](#fn-specinitprovidermetricspublisherkeysecretrefwithkey) + * [`fn withName(name)`](#fn-specinitprovidermetricspublisherkeysecretrefwithname) + * [`fn withNamespace(namespace)`](#fn-specinitprovidermetricspublisherkeysecretrefwithnamespace) * [`obj spec.providerConfigRef`](#obj-specproviderconfigref) * [`fn withName(name)`](#fn-specproviderconfigrefwithname) * [`obj spec.providerConfigRef.policy`](#obj-specproviderconfigrefpolicy) @@ -311,7 +315,7 @@ withStackId(stackId) withStackSmApiUrl(stackSmApiUrl) ``` -"cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." +"cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." ## obj spec.forProvider.cloudStackRef @@ -441,7 +445,7 @@ withStackId(stackId) withStackSmApiUrl(stackSmApiUrl) ``` -"cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." +"cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable." ## obj spec.initProvider.cloudStackRef @@ -525,6 +529,34 @@ withResolve(resolve) "Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile." +## obj spec.initProvider.metricsPublisherKeySecretRef + +"(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack." + +### fn spec.initProvider.metricsPublisherKeySecretRef.withKey + +```ts +withKey(key) +``` + +"The key to select." + +### fn spec.initProvider.metricsPublisherKeySecretRef.withName + +```ts +withName(name) +``` + +"Name of the secret." + +### fn spec.initProvider.metricsPublisherKeySecretRef.withNamespace + +```ts +withNamespace(namespace) +``` + +"Namespace of the secret." + ## obj spec.providerConfigRef "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured." diff --git a/docs/provider-grafana/0.15/sm/v1alpha1/probe.md b/docs/provider-grafana/0.18/sm/v1alpha1/probe.md similarity index 96% rename from docs/provider-grafana/0.15/sm/v1alpha1/probe.md rename to docs/provider-grafana/0.18/sm/v1alpha1/probe.md index 346f34cf4b..d7a5cf4be3 100644 --- a/docs/provider-grafana/0.15/sm/v1alpha1/probe.md +++ b/docs/provider-grafana/0.18/sm/v1alpha1/probe.md @@ -1,10 +1,10 @@ --- -permalink: /provider-grafana/0.15/sm/v1alpha1/probe/ +permalink: /provider-grafana/0.18/sm/v1alpha1/probe/ --- # sm.v1alpha1.probe -"Probe is the Schema for the Probes API. Besides the public probes run by Grafana Labs, you can also install your own private probes. These are only accessible to you and only write data to your Grafana Cloud account. Private probes are instances of the open source Grafana Synthetic Monitoring Agent. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/" +"Probe is the Schema for the Probes API. Besides the public probes run by Grafana Labs, you can also install your own private probes. These are only accessible to you and only write data to your Grafana Cloud account. Private probes are instances of the open source Grafana Synthetic Monitoring Agent. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/" ## Index @@ -34,6 +34,7 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/probe/ * [`fn withManagementPolicies(managementPolicies)`](#fn-specwithmanagementpolicies) * [`fn withManagementPoliciesMixin(managementPolicies)`](#fn-specwithmanagementpoliciesmixin) * [`obj spec.forProvider`](#obj-specforprovider) + * [`fn withDisableScriptedChecks(disableScriptedChecks)`](#fn-specforproviderwithdisablescriptedchecks) * [`fn withLabels(labels)`](#fn-specforproviderwithlabels) * [`fn withLabelsMixin(labels)`](#fn-specforproviderwithlabelsmixin) * [`fn withLatitude(latitude)`](#fn-specforproviderwithlatitude) @@ -42,6 +43,7 @@ permalink: /provider-grafana/0.15/sm/v1alpha1/probe/ * [`fn withPublic(public)`](#fn-specforproviderwithpublic) * [`fn withRegion(region)`](#fn-specforproviderwithregion) * [`obj spec.initProvider`](#obj-specinitprovider) + * [`fn withDisableScriptedChecks(disableScriptedChecks)`](#fn-specinitproviderwithdisablescriptedchecks) * [`fn withLabels(labels)`](#fn-specinitproviderwithlabels) * [`fn withLabelsMixin(labels)`](#fn-specinitproviderwithlabelsmixin) * [`fn withLatitude(latitude)`](#fn-specinitproviderwithlatitude) @@ -279,6 +281,14 @@ withManagementPoliciesMixin(managementPolicies) +### fn spec.forProvider.withDisableScriptedChecks + +```ts +withDisableScriptedChecks(disableScriptedChecks) +``` + +"(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`." + ### fn spec.forProvider.withLabels ```ts @@ -341,6 +351,14 @@ withRegion(region) "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." +### fn spec.initProvider.withDisableScriptedChecks + +```ts +withDisableScriptedChecks(disableScriptedChecks) +``` + +"(Boolean) Disables scripted checks for this probe. Defaults to false.\nDisables scripted checks for this probe. Defaults to `false`." + ### fn spec.initProvider.withLabels ```ts diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/apiKey.libsonnet b/provider-grafana/0.15/_gen/oss/v1alpha1/apiKey.libsonnet deleted file mode 100644 index f8f8d47a99..0000000000 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/apiKey.libsonnet +++ /dev/null @@ -1,190 +0,0 @@ -{ - local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='apiKey', url='', help='"APIKey is the Schema for the APIKeys API. Manages Grafana API Keys. HTTP API https://grafana."'), - '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), - metadata: { - '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), - withAnnotations(annotations): { metadata+: { annotations: annotations } }, - '#withAnnotationsMixin':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='annotations', type=d.T.object)]), - withAnnotationsMixin(annotations): { metadata+: { annotations+: annotations } }, - '#withClusterName':: d.fn(help='"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."', args=[d.arg(name='clusterName', type=d.T.string)]), - withClusterName(clusterName): { metadata+: { clusterName: clusterName } }, - '#withCreationTimestamp':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='creationTimestamp', type=d.T.string)]), - withCreationTimestamp(creationTimestamp): { metadata+: { creationTimestamp: creationTimestamp } }, - '#withDeletionGracePeriodSeconds':: d.fn(help='"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."', args=[d.arg(name='deletionGracePeriodSeconds', type=d.T.integer)]), - withDeletionGracePeriodSeconds(deletionGracePeriodSeconds): { metadata+: { deletionGracePeriodSeconds: deletionGracePeriodSeconds } }, - '#withDeletionTimestamp':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='deletionTimestamp', type=d.T.string)]), - withDeletionTimestamp(deletionTimestamp): { metadata+: { deletionTimestamp: deletionTimestamp } }, - '#withFinalizers':: d.fn(help='"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."', args=[d.arg(name='finalizers', type=d.T.array)]), - withFinalizers(finalizers): { metadata+: { finalizers: if std.isArray(v=finalizers) then finalizers else [finalizers] } }, - '#withFinalizersMixin':: d.fn(help='"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='finalizers', type=d.T.array)]), - withFinalizersMixin(finalizers): { metadata+: { finalizers+: if std.isArray(v=finalizers) then finalizers else [finalizers] } }, - '#withGenerateName':: d.fn(help='"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\\n\\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\\n\\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"', args=[d.arg(name='generateName', type=d.T.string)]), - withGenerateName(generateName): { metadata+: { generateName: generateName } }, - '#withGeneration':: d.fn(help='"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."', args=[d.arg(name='generation', type=d.T.integer)]), - withGeneration(generation): { metadata+: { generation: generation } }, - '#withLabels':: d.fn(help='"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"', args=[d.arg(name='labels', type=d.T.object)]), - withLabels(labels): { metadata+: { labels: labels } }, - '#withLabelsMixin':: d.fn(help='"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='labels', type=d.T.object)]), - withLabelsMixin(labels): { metadata+: { labels+: labels } }, - '#withName':: d.fn(help='"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { metadata+: { name: name } }, - '#withNamespace':: d.fn(help='"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \\"default\\" namespace, but \\"default\\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\\n\\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"', args=[d.arg(name='namespace', type=d.T.string)]), - withNamespace(namespace): { metadata+: { namespace: namespace } }, - '#withOwnerReferences':: d.fn(help='"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."', args=[d.arg(name='ownerReferences', type=d.T.array)]), - withOwnerReferences(ownerReferences): { metadata+: { ownerReferences: if std.isArray(v=ownerReferences) then ownerReferences else [ownerReferences] } }, - '#withOwnerReferencesMixin':: d.fn(help='"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ownerReferences', type=d.T.array)]), - withOwnerReferencesMixin(ownerReferences): { metadata+: { ownerReferences+: if std.isArray(v=ownerReferences) then ownerReferences else [ownerReferences] } }, - '#withResourceVersion':: d.fn(help='"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\\n\\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"', args=[d.arg(name='resourceVersion', type=d.T.string)]), - withResourceVersion(resourceVersion): { metadata+: { resourceVersion: resourceVersion } }, - '#withSelfLink':: d.fn(help='"SelfLink is a URL representing this object. Populated by the system. Read-only.\\n\\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."', args=[d.arg(name='selfLink', type=d.T.string)]), - withSelfLink(selfLink): { metadata+: { selfLink: selfLink } }, - '#withUid':: d.fn(help='"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\\n\\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"', args=[d.arg(name='uid', type=d.T.string)]), - withUid(uid): { metadata+: { uid: uid } }, - }, - '#new':: d.fn(help='new returns an instance of APIKey', args=[d.arg(name='name', type=d.T.string)]), - new(name): { - apiVersion: 'oss.grafana.crossplane.io/v1alpha1', - kind: 'APIKey', - } + self.metadata.withName(name=name) + self.metadata.withAnnotations(annotations={ - 'tanka.dev/namespaced': 'false', - }), - '#spec':: d.obj(help='"APIKeySpec defines the desired state of APIKey"'), - spec: { - '#forProvider':: d.obj(help=''), - forProvider: { - '#organizationRef':: d.obj(help='"Reference to a Organization in oss to populate orgId."'), - organizationRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { organizationRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { organizationRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { forProvider+: { organizationRef+: { name: name } } } }, - }, - '#organizationSelector':: d.obj(help='"Selector for a Organization in oss to populate orgId."'), - organizationSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { organizationSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { organizationSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { organizationSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { forProvider+: { organizationSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, - }, - '#withName':: d.fn(help='"(String)"', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { forProvider+: { name: name } } }, - '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), - withOrgId(orgId): { spec+: { forProvider+: { orgId: orgId } } }, - '#withRole':: d.fn(help='"(String)"', args=[d.arg(name='role', type=d.T.string)]), - withRole(role): { spec+: { forProvider+: { role: role } } }, - '#withSecondsToLive':: d.fn(help='"(Number)"', args=[d.arg(name='secondsToLive', type=d.T.number)]), - withSecondsToLive(secondsToLive): { spec+: { forProvider+: { secondsToLive: secondsToLive } } }, - }, - '#initProvider':: d.obj(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."'), - initProvider: { - '#organizationRef':: d.obj(help='"Reference to a Organization in oss to populate orgId."'), - organizationRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { organizationRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { organizationRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { initProvider+: { organizationRef+: { name: name } } } }, - }, - '#organizationSelector':: d.obj(help='"Selector for a Organization in oss to populate orgId."'), - organizationSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { organizationSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { organizationSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { organizationSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, - }, - '#withName':: d.fn(help='"(String)"', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { initProvider+: { name: name } } }, - '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), - withOrgId(orgId): { spec+: { initProvider+: { orgId: orgId } } }, - '#withRole':: d.fn(help='"(String)"', args=[d.arg(name='role', type=d.T.string)]), - withRole(role): { spec+: { initProvider+: { role: role } } }, - '#withSecondsToLive':: d.fn(help='"(Number)"', args=[d.arg(name='secondsToLive', type=d.T.number)]), - withSecondsToLive(secondsToLive): { spec+: { initProvider+: { secondsToLive: secondsToLive } } }, - }, - '#providerConfigRef':: d.obj(help='"ProviderConfigReference specifies how the provider that will be used to\\ncreate, observe, update, and delete this managed resource should be\\nconfigured."'), - providerConfigRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { providerConfigRef+: { policy+: { resolution: resolution } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { providerConfigRef+: { policy+: { resolve: resolve } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { providerConfigRef+: { name: name } } }, - }, - '#publishConnectionDetailsTo':: d.obj(help='"PublishConnectionDetailsTo specifies the connection secret config which\\ncontains a name, metadata and a reference to secret store config to\\nwhich any connection details for this managed resource should be written.\\nConnection details frequently include the endpoint, username,\\nand password required to connect to the managed resource."'), - publishConnectionDetailsTo: { - '#configRef':: d.obj(help='"SecretStoreConfigRef specifies which secret store config should be used\\nfor this ConnectionSecret."'), - configRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { publishConnectionDetailsTo+: { configRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { publishConnectionDetailsTo+: { configRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { publishConnectionDetailsTo+: { configRef+: { name: name } } } }, - }, - '#metadata':: d.obj(help='"Metadata is the metadata for connection secret."'), - metadata: { - '#withAnnotations':: d.fn(help='"Annotations are the annotations to be added to connection secret.\\n- For Kubernetes secrets, this will be used as \\"metadata.annotations\\".\\n- It is up to Secret Store implementation for others store types."', args=[d.arg(name='annotations', type=d.T.object)]), - withAnnotations(annotations): { spec+: { publishConnectionDetailsTo+: { metadata+: { annotations: annotations } } } }, - '#withAnnotationsMixin':: d.fn(help='"Annotations are the annotations to be added to connection secret.\\n- For Kubernetes secrets, this will be used as \\"metadata.annotations\\".\\n- It is up to Secret Store implementation for others store types."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='annotations', type=d.T.object)]), - withAnnotationsMixin(annotations): { spec+: { publishConnectionDetailsTo+: { metadata+: { annotations+: annotations } } } }, - '#withLabels':: d.fn(help='"Labels are the labels/tags to be added to connection secret.\\n- For Kubernetes secrets, this will be used as \\"metadata.labels\\".\\n- It is up to Secret Store implementation for others store types."', args=[d.arg(name='labels', type=d.T.object)]), - withLabels(labels): { spec+: { publishConnectionDetailsTo+: { metadata+: { labels: labels } } } }, - '#withLabelsMixin':: d.fn(help='"Labels are the labels/tags to be added to connection secret.\\n- For Kubernetes secrets, this will be used as \\"metadata.labels\\".\\n- It is up to Secret Store implementation for others store types."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='labels', type=d.T.object)]), - withLabelsMixin(labels): { spec+: { publishConnectionDetailsTo+: { metadata+: { labels+: labels } } } }, - '#withType':: d.fn(help='"Type is the SecretType for the connection secret.\\n- Only valid for Kubernetes Secret Stores."', args=[d.arg(name='type', type=d.T.string)]), - withType(type): { spec+: { publishConnectionDetailsTo+: { metadata+: { type: type } } } }, - }, - '#withName':: d.fn(help='"Name is the name of the connection secret."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { publishConnectionDetailsTo+: { name: name } } }, - }, - '#withDeletionPolicy':: d.fn(help='"DeletionPolicy specifies what will happen to the underlying external\\nwhen this managed resource is deleted - either \\"Delete\\" or \\"Orphan\\" the\\nexternal resource.\\nThis field is planned to be deprecated in favor of the ManagementPolicies\\nfield in a future release. Currently, both could be set independently and\\nnon-default values would be honored if the feature flag is enabled.\\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223"', args=[d.arg(name='deletionPolicy', type=d.T.string)]), - withDeletionPolicy(deletionPolicy): { spec+: { deletionPolicy: deletionPolicy } }, - '#withManagementPolicies':: d.fn(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"', args=[d.arg(name='managementPolicies', type=d.T.array)]), - withManagementPolicies(managementPolicies): { spec+: { managementPolicies: if std.isArray(v=managementPolicies) then managementPolicies else [managementPolicies] } }, - '#withManagementPoliciesMixin':: d.fn(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"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='managementPolicies', type=d.T.array)]), - withManagementPoliciesMixin(managementPolicies): { spec+: { managementPolicies+: if std.isArray(v=managementPolicies) then managementPolicies else [managementPolicies] } }, - '#writeConnectionSecretToRef':: d.obj(help='"WriteConnectionSecretToReference specifies the namespace and name of a\\nSecret to which any connection details for this managed resource should\\nbe written. Connection details frequently include the endpoint, username,\\nand password required to connect to the managed resource.\\nThis field is planned to be replaced in a future release in favor of\\nPublishConnectionDetailsTo. Currently, both could be set independently\\nand connection details would be published to both without affecting\\neach other."'), - writeConnectionSecretToRef: { - '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { writeConnectionSecretToRef+: { name: name } } }, - '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), - withNamespace(namespace): { spec+: { writeConnectionSecretToRef+: { namespace: namespace } } }, - }, - }, - '#mixin': 'ignore', - mixin: self, -} diff --git a/provider-grafana/0.15/_gen/alerting/main.libsonnet b/provider-grafana/0.18/_gen/alerting/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/alerting/main.libsonnet rename to provider-grafana/0.18/_gen/alerting/main.libsonnet diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/contactPoint.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/contactPoint.libsonnet similarity index 86% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/contactPoint.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/contactPoint.libsonnet index adf4e2d9e3..9257202833 100644 --- a/provider-grafana/0.15/_gen/alerting/v1alpha1/contactPoint.libsonnet +++ b/provider-grafana/0.18/_gen/alerting/v1alpha1/contactPoint.libsonnet @@ -401,6 +401,8 @@ withSource(source): { source: source }, '#withSummary':: d.fn(help='"(String) The templated summary message of the event.\\nThe templated summary message of the event."', args=[d.arg(name='summary', type=d.T.string)]), withSummary(summary): { summary: summary }, + '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe URL to send API requests to"', args=[d.arg(name='url', type=d.T.string)]), + withUrl(url): { url: url }, }, '#pushover':: d.obj(help='"(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\\nA contact point that sends notifications to Pushover."'), pushover: { @@ -634,6 +636,8 @@ withDisableWebPagePreview(disableWebPagePreview): { disableWebPagePreview: disableWebPagePreview }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated content of the message."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withMessageThreadId':: d.fn(help='"(String) The ID of the message thread to send the message to.\\nThe ID of the message thread to send the message to."', args=[d.arg(name='messageThreadId', type=d.T.string)]), + withMessageThreadId(messageThreadId): { messageThreadId: messageThreadId }, '#withParseMode':: d.fn(help='"(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default."', args=[d.arg(name='parseMode', type=d.T.string)]), withParseMode(parseMode): { parseMode: parseMode }, '#withProtectContent':: d.fn(help='"(Boolean) When set it protects the contents of the message from forwarding and saving.\\nWhen set it protects the contents of the message from forwarding and saving."', args=[d.arg(name='protectContent', type=d.T.boolean)]), @@ -896,10 +900,23 @@ initProvider: { '#alertmanager':: d.obj(help='"(Block Set) A contact point that sends notifications to other Alertmanager instances. (see below for nested schema)\\nA contact point that sends notifications to other Alertmanager instances."'), alertmanager: { + '#basicAuthPasswordSecretRef':: d.obj(help='"(String, Sensitive) The password component of the basic auth credentials to use.\\nThe password component of the basic auth credentials to use."'), + basicAuthPasswordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { basicAuthPasswordSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { basicAuthPasswordSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { basicAuthPasswordSecretRef+: { namespace: namespace } }, + }, '#withBasicAuthUser':: d.fn(help='"(String) The username component of the basic auth credentials to use.\\nThe username component of the basic auth credentials to use."', args=[d.arg(name='basicAuthUser', type=d.T.string)]), withBasicAuthUser(basicAuthUser): { basicAuthUser: basicAuthUser }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe URL of the Alertmanager instance."', args=[d.arg(name='url', type=d.T.string)]), withUrl(url): { url: url }, }, @@ -911,6 +928,10 @@ withMessage(message): { message: message }, '#withMessageType':: d.fn(help="\"either 'link' or 'actionCard'\\nThe format of message to send - either 'link' or 'actionCard'\"", args=[d.arg(name='messageType', type=d.T.string)]), withMessageType(messageType): { messageType: messageType }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe DingDing webhook URL."', args=[d.arg(name='url', type=d.T.string)]), @@ -918,12 +939,25 @@ }, '#discord':: d.obj(help='"(Block Set) A contact point that sends notifications as Discord messages (see below for nested schema)\\nA contact point that sends notifications as Discord messages"'), discord: { + '#urlSecretRef':: d.obj(help='"(String) The URL of the Alertmanager instance.\\nThe discord webhook URL."'), + urlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { urlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { urlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { urlSecretRef+: { namespace: namespace } }, + }, '#withAvatarUrl':: d.fn(help='"(String) The URL of a custom avatar image to use. Defaults to “.\\nThe URL of a custom avatar image to use. Defaults to “."', args=[d.arg(name='avatarUrl', type=d.T.string)]), withAvatarUrl(avatarUrl): { avatarUrl: avatarUrl }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated content of the message. Defaults to “."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated content of the title."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withUseDiscordUsername':: d.fn(help="\"(Boolean) Whether to use the bot account's plain username instead of \\\"Grafana.\\\" Defaults to false.\\nWhether to use the bot account's plain username instead of \\\"Grafana.\\\" Defaults to `false`.\"", args=[d.arg(name='useDiscordUsername', type=d.T.boolean)]), @@ -939,6 +973,10 @@ withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated content of the email. Defaults to “."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withSingleEmail':: d.fn(help="\"(Boolean) Whether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to false.\\nWhether to send a single email CC'ing all addresses, rather than a separate email to each address. Defaults to `false`.\"", args=[d.arg(name='singleEmail', type=d.T.boolean)]), withSingleEmail(singleEmail): { singleEmail: singleEmail }, '#withSubject':: d.fn(help='"(String) The templated subject line of the email. Defaults to “.\\nThe templated subject line of the email. Defaults to “."', args=[d.arg(name='subject', type=d.T.string)]), @@ -946,15 +984,46 @@ }, '#googlechat':: d.obj(help='"(Block Set) A contact point that sends notifications to Google Chat. (see below for nested schema)\\nA contact point that sends notifications to Google Chat."'), googlechat: { + '#urlSecretRef':: d.obj(help='"(String) The URL of the Alertmanager instance.\\nThe Google Chat webhook URL."'), + urlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { urlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { urlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { urlSecretRef+: { namespace: namespace } }, + }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated content of the message."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated content of the title."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, }, '#kafka':: d.obj(help='"(Block Set) A contact point that publishes notifications to Apache Kafka topics. (see below for nested schema)\\nA contact point that publishes notifications to Apache Kafka topics."'), kafka: { + '#passwordSecretRef':: d.obj(help='"(String, Sensitive) The password to use when making a call to the Kafka REST Proxy\\nThe password to use when making a call to the Kafka REST Proxy"'), + passwordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { passwordSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { passwordSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { passwordSecretRef+: { namespace: namespace } }, + }, + '#restProxyUrlSecretRef':: d.obj(help='"(String, Sensitive) The URL of the Kafka REST proxy to send requests to.\\nThe URL of the Kafka REST proxy to send requests to."'), + restProxyUrlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { restProxyUrlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { restProxyUrlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { restProxyUrlSecretRef+: { namespace: namespace } }, + }, '#withApiVersion':: d.fn(help='"(String) The API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to v2.\\nThe API version to use when contacting the Kafka REST Server. Supported: v2 (default) and v3. Defaults to `v2`."', args=[d.arg(name='apiVersion', type=d.T.string)]), withApiVersion(apiVersion): { apiVersion: apiVersion }, '#withClusterId':: d.fn(help="\"(String) The Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\\nThe Id of cluster to use when contacting the Kafka REST Server. Required api_version to be 'v3'\"", args=[d.arg(name='clusterId', type=d.T.string)]), @@ -965,6 +1034,10 @@ withDetails(details): { details: details }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTopic':: d.fn(help='"(String) The name of the Kafka topic to publish to.\\nThe name of the Kafka topic to publish to."', args=[d.arg(name='topic', type=d.T.string)]), withTopic(topic): { topic: topic }, '#withUsername':: d.fn(help='"(String) The user name to use when making a call to the Kafka REST Proxy\\nThe user name to use when making a call to the Kafka REST Proxy"', args=[d.arg(name='username', type=d.T.string)]), @@ -972,15 +1045,46 @@ }, '#line':: d.obj(help='"(Block Set) A contact point that sends notifications to LINE.me. (see below for nested schema)\\nA contact point that sends notifications to LINE.me."'), line: { + '#tokenSecretRef':: d.obj(help='"(String, Sensitive) The bearer token used to authorize the client.\\nThe bearer token used to authorize the client."'), + tokenSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { tokenSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { tokenSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { tokenSecretRef+: { namespace: namespace } }, + }, '#withDescription':: d.fn(help='"(String) The templated description of the Kafka message.\\nThe templated description of the message."', args=[d.arg(name='description', type=d.T.string)]), withDescription(description): { description: description }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, }, '#oncall':: d.obj(help='"Call. (see below for nested schema)\\nA contact point that sends notifications to Grafana On-Call."'), oncall: { + '#authorizationCredentialsSecretRef':: d.obj(help='"attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters."'), + authorizationCredentialsSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { authorizationCredentialsSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { authorizationCredentialsSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { authorizationCredentialsSecretRef+: { namespace: namespace } }, + }, + '#basicAuthPasswordSecretRef':: d.obj(help='"(String, Sensitive) The password component of the basic auth credentials to use.\\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used."'), + basicAuthPasswordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { basicAuthPasswordSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { basicAuthPasswordSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { basicAuthPasswordSecretRef+: { namespace: namespace } }, + }, '#withAuthorizationScheme':: d.fn(help='"attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters."', args=[d.arg(name='authorizationScheme', type=d.T.string)]), withAuthorizationScheme(authorizationScheme): { authorizationScheme: authorizationScheme }, '#withBasicAuthUser':: d.fn(help='"(String) The username component of the basic auth credentials to use.\\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used."', args=[d.arg(name='basicAuthUser', type=d.T.string)]), @@ -993,6 +1097,10 @@ withMaxAlerts(maxAlerts): { maxAlerts: maxAlerts }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nCustom message. You can use template variables."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nTemplated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe URL to send webhook requests to."', args=[d.arg(name='url', type=d.T.string)]), @@ -1000,6 +1108,15 @@ }, '#opsgenie':: d.obj(help='"(Block Set) A contact point that sends notifications to OpsGenie. (see below for nested schema)\\nA contact point that sends notifications to OpsGenie."'), opsgenie: { + '#apiKeySecretRef':: d.obj(help='"(String, Sensitive) The OpsGenie API key to use.\\nThe OpsGenie API key to use."'), + apiKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { apiKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { apiKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { apiKeySecretRef+: { namespace: namespace } }, + }, '#responders':: d.obj(help='"(Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see below for nested schema)\\nTeams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+."'), responders: { '#withId':: d.fn(help='"(String) The ID of this resource.\\nID of the responder. Must be specified if name and username are empty."', args=[d.arg(name='id', type=d.T.string)]), @@ -1027,6 +1144,10 @@ withRespondersMixin(responders): { responders+: if std.isArray(v=responders) then responders else [responders] }, '#withSendTagsAs':: d.fn(help='"(String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are tags, details, both, or empty to use the default behavior of Tags.\\nWhether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags."', args=[d.arg(name='sendTagsAs', type=d.T.string)]), withSendTagsAs(sendTagsAs): { sendTagsAs: sendTagsAs }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nAllows customization of the OpsGenie API URL."', args=[d.arg(name='url', type=d.T.string)]), withUrl(url): { url: url }, }, @@ -1060,6 +1181,15 @@ }, '#pagerduty':: d.obj(help='"(Block Set) A contact point that sends notifications to PagerDuty. (see below for nested schema)\\nA contact point that sends notifications to PagerDuty."'), pagerduty: { + '#integrationKeySecretRef':: d.obj(help='"(String, Sensitive) The PagerDuty API key.\\nThe PagerDuty API key."'), + integrationKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { integrationKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { integrationKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { integrationKeySecretRef+: { namespace: namespace } }, + }, '#withClass':: d.fn(help='"(String) The class or type of event, for example ping failure.\\nThe class or type of event, for example `ping failure`."', args=[d.arg(name='class', type=d.T.string)]), withClass(class): { class: class }, '#withClient':: d.fn(help='"(String) The name of the monitoring client that is triggering this event.\\nThe name of the monitoring client that is triggering this event."', args=[d.arg(name='client', type=d.T.string)]), @@ -1076,15 +1206,39 @@ withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withGroup':: d.fn(help='"(String) The group to which the provided component belongs to.\\nThe group to which the provided component belongs to."', args=[d.arg(name='group', type=d.T.string)]), withGroup(group): { group: group }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withSeverity':: d.fn(help='"(String) The PagerDuty event severity level. Default is critical.\\nThe PagerDuty event severity level. Default is `critical`."', args=[d.arg(name='severity', type=d.T.string)]), withSeverity(severity): { severity: severity }, '#withSource':: d.fn(help='"(String) The unique location of the affected system.\\nThe unique location of the affected system."', args=[d.arg(name='source', type=d.T.string)]), withSource(source): { source: source }, '#withSummary':: d.fn(help='"(String) The templated summary message of the event.\\nThe templated summary message of the event."', args=[d.arg(name='summary', type=d.T.string)]), withSummary(summary): { summary: summary }, + '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe URL to send API requests to"', args=[d.arg(name='url', type=d.T.string)]), + withUrl(url): { url: url }, }, '#pushover':: d.obj(help='"(Block Set) A contact point that sends notifications to Pushover. (see below for nested schema)\\nA contact point that sends notifications to Pushover."'), pushover: { + '#apiTokenSecretRef':: d.obj(help='"(String, Sensitive) The Pushover API token.\\nThe Pushover API token."'), + apiTokenSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { apiTokenSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { apiTokenSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { apiTokenSecretRef+: { namespace: namespace } }, + }, + '#userKeySecretRef':: d.obj(help='"(String, Sensitive) The Pushover user key.\\nThe Pushover user key."'), + userKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { userKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { userKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { userKeySecretRef+: { namespace: namespace } }, + }, '#withDevice':: d.fn(help='"separated list of devices to which the event is associated.\\nComma-separated list of devices to which the event is associated."', args=[d.arg(name='device', type=d.T.string)]), withDevice(device): { device: device }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), @@ -1101,6 +1255,10 @@ withPriority(priority): { priority: priority }, '#withRetry':: d.fn(help='"(Number) How often, in seconds, the Pushover servers will send the same notification to the user.\\nHow often, in seconds, the Pushover servers will send the same notification to the user."', args=[d.arg(name='retry', type=d.T.number)]), withRetry(retry): { retry: retry }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withSound':: d.fn(help='"(String) The sound associated with the notification.\\nThe sound associated with the notification."', args=[d.arg(name='sound', type=d.T.string)]), withSound(sound): { sound: sound }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message."', args=[d.arg(name='title', type=d.T.string)]), @@ -1110,6 +1268,15 @@ }, '#sensugo':: d.obj(help='"(Block Set) A contact point that sends notifications to SensuGo. (see below for nested schema)\\nA contact point that sends notifications to SensuGo."'), sensugo: { + '#apiKeySecretRef':: d.obj(help='"(String, Sensitive) The OpsGenie API key to use.\\nThe SensuGo API key."'), + apiKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { apiKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { apiKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { apiKeySecretRef+: { namespace: namespace } }, + }, '#withCheck':: d.fn(help='"(String) The SensuGo check to which the event should be routed.\\nThe SensuGo check to which the event should be routed."', args=[d.arg(name='check', type=d.T.string)]), withCheck(check): { check: check }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), @@ -1122,11 +1289,33 @@ withMessage(message): { message: message }, '#withNamespace':: d.fn(help='"(String) The namespace in which the check resides.\\nThe namespace in which the check resides."', args=[d.arg(name='namespace', type=d.T.string)]), withNamespace(namespace): { namespace: namespace }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe SensuGo URL to send requests to."', args=[d.arg(name='url', type=d.T.string)]), withUrl(url): { url: url }, }, '#slack':: d.obj(help='"(Block Set) A contact point that sends notifications to Slack. (see below for nested schema)\\nA contact point that sends notifications to Slack."'), slack: { + '#tokenSecretRef':: d.obj(help='"(String, Sensitive) The bearer token used to authorize the client.\\nA Slack API token,for sending messages directly without the webhook method."'), + tokenSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { tokenSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { tokenSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { tokenSecretRef+: { namespace: namespace } }, + }, + '#urlSecretRef':: d.obj(help='"(String) The URL of the Alertmanager instance.\\nA Slack webhook URL,for sending messages via the webhook method."'), + urlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { urlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { urlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { urlSecretRef+: { namespace: namespace } }, + }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withEndpointUrl':: d.fn(help='"(String) Use this to override the Slack API endpoint URL to send requests to.\\nUse this to override the Slack API endpoint URL to send requests to."', args=[d.arg(name='endpointUrl', type=d.T.string)]), @@ -1143,6 +1332,10 @@ withMentionUsers(mentionUsers): { mentionUsers: mentionUsers }, '#withRecipient':: d.fn(help='"(String) Channel, private group, or IM channel (can be an encoded ID or a name) to send messages to.\\nChannel, private group, or IM channel (can be an encoded ID or a name) to send messages to."', args=[d.arg(name='recipient', type=d.T.string)]), withRecipient(recipient): { recipient: recipient }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withText':: d.fn(help='"(String) Templated content of the message.\\nTemplated content of the message."', args=[d.arg(name='text', type=d.T.string)]), withText(text): { text: text }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nTemplated title of the message."', args=[d.arg(name='title', type=d.T.string)]), @@ -1152,6 +1345,24 @@ }, '#sns':: d.obj(help='"(Block Set) A contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana. (see below for nested schema)\\nA contact point that sends notifications to Amazon SNS. Requires Amazon Managed Grafana."'), sns: { + '#accessKeySecretRef':: d.obj(help='"(String, Sensitive) AWS access key ID used to authenticate with Amazon SNS.\\nAWS access key ID used to authenticate with Amazon SNS."'), + accessKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { accessKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { accessKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { accessKeySecretRef+: { namespace: namespace } }, + }, + '#secretKeySecretRef':: d.obj(help='"(String, Sensitive) AWS secret access key used to authenticate with Amazon SNS.\\nAWS secret access key used to authenticate with Amazon SNS."'), + secretKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { secretKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { secretKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { secretKeySecretRef+: { namespace: namespace } }, + }, '#withAssumeRoleArn':: d.fn(help='"(String) The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.\\nThe Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS."', args=[d.arg(name='assumeRoleArn', type=d.T.string)]), withAssumeRoleArn(assumeRoleArn): { assumeRoleArn: assumeRoleArn }, '#withAuthProvider':: d.fn(help='"(String) The authentication provider to use. Valid values are default, arn and keys. Default is default. Defaults to default.\\nThe authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`."', args=[d.arg(name='authProvider', type=d.T.string)]), @@ -1164,6 +1375,10 @@ withExternalId(externalId): { externalId: externalId }, '#withMessageFormat':: d.fn(help='"(String) The format of the message to send. Valid values are text, body and json. Default is text. Defaults to text.\\nThe format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`."', args=[d.arg(name='messageFormat', type=d.T.string)]), withMessageFormat(messageFormat): { messageFormat: messageFormat }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withSubject':: d.fn(help='"(String) The templated subject line of the email. Defaults to “."', args=[d.arg(name='subject', type=d.T.string)]), withSubject(subject): { subject: subject }, '#withTopic':: d.fn(help='"(String) The name of the Kafka topic to publish to.\\nThe Amazon SNS topic to send notifications to."', args=[d.arg(name='topic', type=d.T.string)]), @@ -1171,17 +1386,39 @@ }, '#teams':: d.obj(help='"(Block Set) A contact point that sends notifications to Microsoft Teams. (see below for nested schema)\\nA contact point that sends notifications to Microsoft Teams."'), teams: { + '#urlSecretRef':: d.obj(help='"(String) The URL of the Alertmanager instance.\\nA Teams webhook URL."'), + urlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { urlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { urlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { urlSecretRef+: { namespace: namespace } }, + }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated message content to send."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, '#withSectionTitle':: d.fn(help='"(String) The templated subtitle for each message section.\\nThe templated subtitle for each message section."', args=[d.arg(name='sectionTitle', type=d.T.string)]), withSectionTitle(sectionTitle): { sectionTitle: sectionTitle }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, }, '#telegram':: d.obj(help='"(Block Set) A contact point that sends notifications to Telegram. (see below for nested schema)\\nA contact point that sends notifications to Telegram."'), telegram: { + '#tokenSecretRef':: d.obj(help='"(String, Sensitive) The bearer token used to authorize the client.\\nThe Telegram bot token."'), + tokenSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { tokenSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { tokenSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { tokenSecretRef+: { namespace: namespace } }, + }, '#withChatId':: d.fn(help='"(String) The chat ID to send messages to.\\nThe chat ID to send messages to."', args=[d.arg(name='chatId', type=d.T.string)]), withChatId(chatId): { chatId: chatId }, '#withDisableNotifications':: d.fn(help='"(Boolean) When set users will receive a notification with no sound.\\nWhen set users will receive a notification with no sound."', args=[d.arg(name='disableNotifications', type=d.T.boolean)]), @@ -1192,13 +1429,28 @@ withDisableWebPagePreview(disableWebPagePreview): { disableWebPagePreview: disableWebPagePreview }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nThe templated content of the message."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withMessageThreadId':: d.fn(help='"(String) The ID of the message thread to send the message to.\\nThe ID of the message thread to send the message to."', args=[d.arg(name='messageThreadId', type=d.T.string)]), + withMessageThreadId(messageThreadId): { messageThreadId: messageThreadId }, '#withParseMode':: d.fn(help='"(String) Mode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default.\\nMode for parsing entities in the message text. Supported: None, Markdown, MarkdownV2, and HTML. HTML is the default."', args=[d.arg(name='parseMode', type=d.T.string)]), withParseMode(parseMode): { parseMode: parseMode }, '#withProtectContent':: d.fn(help='"(Boolean) When set it protects the contents of the message from forwarding and saving.\\nWhen set it protects the contents of the message from forwarding and saving."', args=[d.arg(name='protectContent', type=d.T.boolean)]), withProtectContent(protectContent): { protectContent: protectContent }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, }, '#threema':: d.obj(help='"(Block Set) A contact point that sends notifications to Threema. (see below for nested schema)\\nA contact point that sends notifications to Threema."'), threema: { + '#apiSecretSecretRef':: d.obj(help='"(String, Sensitive) The Threema API key.\\nThe Threema API key."'), + apiSecretSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { apiSecretSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { apiSecretSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { apiSecretSecretRef+: { namespace: namespace } }, + }, '#withDescription':: d.fn(help='"(String) The templated description of the Kafka message.\\nThe templated description of the message."', args=[d.arg(name='description', type=d.T.string)]), withDescription(description): { description: description }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), @@ -1207,6 +1459,10 @@ withGatewayId(gatewayId): { gatewayId: gatewayId }, '#withRecipientId':: d.fn(help='"(String) The ID of the recipient of the message.\\nThe ID of the recipient of the message."', args=[d.arg(name='recipientId', type=d.T.string)]), withRecipientId(recipientId): { recipientId: recipientId }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, }, @@ -1218,6 +1474,10 @@ withDisableResolveMessage(disableResolveMessage): { disableResolveMessage: disableResolveMessage }, '#withMessageType':: d.fn(help="\"either 'link' or 'actionCard'\\nThe VictorOps alert state - typically either `CRITICAL` or `RECOVERY`.\"", args=[d.arg(name='messageType', type=d.T.string)]), withMessageType(messageType): { messageType: messageType }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nTemplated title to display."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe VictorOps webhook URL."', args=[d.arg(name='url', type=d.T.string)]), @@ -1225,6 +1485,15 @@ }, '#webex':: d.obj(help='"(Block Set) A contact point that sends notifications to Cisco Webex. (see below for nested schema)\\nA contact point that sends notifications to Cisco Webex."'), webex: { + '#tokenSecretRef':: d.obj(help='"(String, Sensitive) The bearer token used to authorize the client.\\nThe bearer token used to authorize the client."'), + tokenSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { tokenSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { tokenSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { tokenSecretRef+: { namespace: namespace } }, + }, '#withApiUrl':: d.fn(help='"(String) The URL to send webhook requests to.\\nThe URL to send webhook requests to."', args=[d.arg(name='apiUrl', type=d.T.string)]), withApiUrl(apiUrl): { apiUrl: apiUrl }, '#withDisableResolveMessage':: d.fn(help='"(Boolean) Whether to disable sending resolve messages. Defaults to false.\\nWhether to disable sending resolve messages. Defaults to `false`."', args=[d.arg(name='disableResolveMessage', type=d.T.boolean)]), @@ -1233,9 +1502,31 @@ withMessage(message): { message: message }, '#withRoomId':: d.fn(help='"(String) ID of the Webex Teams room where to send the messages.\\nID of the Webex Teams room where to send the messages."', args=[d.arg(name='roomId', type=d.T.string)]), withRoomId(roomId): { roomId: roomId }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, }, '#webhook':: d.obj(help='"(Block Set) A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config (see below for nested schema)\\nA contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config"'), webhook: { + '#authorizationCredentialsSecretRef':: d.obj(help='"attaches an auth header with this value. Do not use in conjunction with basic auth parameters.\\nAllows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters."'), + authorizationCredentialsSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { authorizationCredentialsSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { authorizationCredentialsSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { authorizationCredentialsSecretRef+: { namespace: namespace } }, + }, + '#basicAuthPasswordSecretRef':: d.obj(help='"(String, Sensitive) The password component of the basic auth credentials to use.\\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used."'), + basicAuthPasswordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { basicAuthPasswordSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { basicAuthPasswordSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { basicAuthPasswordSecretRef+: { namespace: namespace } }, + }, '#withAuthorizationScheme':: d.fn(help='"attaches an auth header with this name. Do not use in conjunction with basic auth parameters.\\nAllows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters."', args=[d.arg(name='authorizationScheme', type=d.T.string)]), withAuthorizationScheme(authorizationScheme): { authorizationScheme: authorizationScheme }, '#withBasicAuthUser':: d.fn(help='"(String) The username component of the basic auth credentials to use.\\nThe username to use in basic auth headers attached to the request. If omitted, basic auth will not be used."', args=[d.arg(name='basicAuthUser', type=d.T.string)]), @@ -1248,6 +1539,10 @@ withMaxAlerts(maxAlerts): { maxAlerts: maxAlerts }, '#withMessage':: d.fn(help='"(String) The templated content of the message.\\nCustom message. You can use template variables."', args=[d.arg(name='message', type=d.T.string)]), withMessage(message): { message: message }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nTemplated title of the message."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withUrl':: d.fn(help='"(String) The URL of the Alertmanager instance.\\nThe URL to send webhook requests to."', args=[d.arg(name='url', type=d.T.string)]), @@ -1255,6 +1550,24 @@ }, '#wecom':: d.obj(help='"(Block Set) A contact point that sends notifications to WeCom. (see below for nested schema)\\nA contact point that sends notifications to WeCom."'), wecom: { + '#secretSecretRef':: d.obj(help='"(String, Sensitive) The secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP.\\nThe secret key required to obtain access token when using APIAPP. See https://work.weixin.qq.com/wework_admin/frame#apps to create APIAPP."'), + secretSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { secretSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { secretSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { secretSecretRef+: { namespace: namespace } }, + }, + '#urlSecretRef':: d.obj(help='"(String) The URL of the Alertmanager instance.\\nThe WeCom webhook URL. Required if using GroupRobot."'), + urlSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { urlSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { urlSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { urlSecretRef+: { namespace: namespace } }, + }, '#withAgentId':: d.fn(help='"(String) Agent ID added to the request payload when using APIAPP.\\nAgent ID added to the request payload when using APIAPP."', args=[d.arg(name='agentId', type=d.T.string)]), withAgentId(agentId): { agentId: agentId }, '#withCorpId':: d.fn(help='"(String) Corp ID used to get token when using APIAPP.\\nCorp ID used to get token when using APIAPP."', args=[d.arg(name='corpId', type=d.T.string)]), @@ -1265,6 +1578,10 @@ withMessage(message): { message: message }, '#withMsgType':: d.fn(help='"(String) The type of them message. Supported: markdown, text. Default: text.\\nThe type of them message. Supported: markdown, text. Default: text."', args=[d.arg(name='msgType', type=d.T.string)]), withMsgType(msgType): { msgType: msgType }, + '#withSettingsSecretRef':: d.fn(help='', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRef(settingsSecretRef): { settingsSecretRef: settingsSecretRef }, + '#withSettingsSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='settingsSecretRef', type=d.T.object)]), + withSettingsSecretRefMixin(settingsSecretRef): { settingsSecretRef+: settingsSecretRef }, '#withTitle':: d.fn(help='"(String) The templated title of the message.\\nThe templated title of the message to send."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { title: title }, '#withToUser':: d.fn(help="\"(String) The ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\\nThe ID of user that should receive the message. Multiple entries should be separated by '|'. Default: @all.\"", args=[d.arg(name='toUser', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/messageTemplate.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/messageTemplate.libsonnet similarity index 99% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/messageTemplate.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/messageTemplate.libsonnet index 29b37f76b2..dc95ae4901 100644 --- a/provider-grafana/0.15/_gen/alerting/v1alpha1/messageTemplate.libsonnet +++ b/provider-grafana/0.18/_gen/alerting/v1alpha1/messageTemplate.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='messageTemplate', url='', help='"MessageTemplate is the Schema for the MessageTemplates API. Manages Grafana Alerting message templates. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/template-notifications/create-notification-templates/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#templates This resource requires Grafana 9.1.0 or later."'), + '#':: d.pkg(name='messageTemplate', url='', help='"MessageTemplate is the Schema for the MessageTemplates API. Manages Grafana Alerting message templates. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/template-notifications/create-notification-templates/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#templates This resource requires Grafana 9.1.0 or later."'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/muteTiming.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/muteTiming.libsonnet similarity index 99% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/muteTiming.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/muteTiming.libsonnet index 67d4bcc682..35f2ad6f55 100644 --- a/provider-grafana/0.15/_gen/alerting/v1alpha1/muteTiming.libsonnet +++ b/provider-grafana/0.18/_gen/alerting/v1alpha1/muteTiming.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='muteTiming', url='', help='"MuteTiming is the Schema for the MuteTimings API. Manages Grafana Alerting mute timings. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/mute-timings/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#mute-timings This resource requires Grafana 9.1.0 or later."'), + '#':: d.pkg(name='muteTiming', url='', help='"MuteTiming is the Schema for the MuteTimings API. Manages Grafana Alerting mute timings. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/mute-timings/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/alerting_provisioning/#mute-timings This resource requires Grafana 9.1.0 or later."'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/notificationPolicy.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/notificationPolicy.libsonnet similarity index 99% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/notificationPolicy.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/notificationPolicy.libsonnet index d439e61d0c..0a166fc768 100644 --- a/provider-grafana/0.15/_gen/alerting/v1alpha1/notificationPolicy.libsonnet +++ b/provider-grafana/0.18/_gen/alerting/v1alpha1/notificationPolicy.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='notificationPolicy', url='', help='"NotificationPolicy is the Schema for the NotificationPolicys API. Sets the global notification policy for Grafana. !> This resource manages the entire notification policy tree, and will overwrite any existing policies. Official documentation https://grafana.com/docs/grafana/latest/alerting/manage-notifications/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ This resource requires Grafana 9.1.0 or later."'), + '#':: d.pkg(name='notificationPolicy', url='', help='"NotificationPolicy is the Schema for the NotificationPolicys API. Sets the global notification policy for Grafana. !> This resource manages the entire notification policy tree, and will overwrite any existing policies. Official documentation https://grafana.com/docs/grafana/latest/alerting/configure-notifications/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ This resource requires Grafana 9.1.0 or later."'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), diff --git a/provider-grafana/0.15/_gen/alerting/v1alpha1/ruleGroup.libsonnet b/provider-grafana/0.18/_gen/alerting/v1alpha1/ruleGroup.libsonnet similarity index 90% rename from provider-grafana/0.15/_gen/alerting/v1alpha1/ruleGroup.libsonnet rename to provider-grafana/0.18/_gen/alerting/v1alpha1/ruleGroup.libsonnet index 6a80bc6921..693357531c 100644 --- a/provider-grafana/0.15/_gen/alerting/v1alpha1/ruleGroup.libsonnet +++ b/provider-grafana/0.18/_gen/alerting/v1alpha1/ruleGroup.libsonnet @@ -135,6 +135,34 @@ }, '#notificationSettings':: d.obj(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.\""), notificationSettings: { + '#contactPointRef':: d.obj(help='"Reference to a ContactPoint in alerting to populate contactPoint."'), + contactPointRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { contactPointRef+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { contactPointRef+: { policy+: { resolve: resolve } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { contactPointRef+: { name: name } }, + }, + '#contactPointSelector':: d.obj(help='"Selector for a ContactPoint in alerting to populate contactPoint."'), + contactPointSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { contactPointSelector+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { contactPointSelector+: { policy+: { resolve: resolve } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { contactPointSelector+: { matchControllerRef: matchControllerRef } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { contactPointSelector+: { matchLabels: matchLabels } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { contactPointSelector+: { matchLabels+: matchLabels } }, + }, '#withContactPoint':: d.fn(help='"(String) The contact point to route notifications that match this rule to.\\nThe contact point to route notifications that match this rule to."', args=[d.arg(name='contactPoint', type=d.T.string)]), withContactPoint(contactPoint): { contactPoint: contactPoint }, '#withGroupBy':: d.fn(help="\"(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\"", args=[d.arg(name='groupBy', type=d.T.array)]), @@ -280,6 +308,34 @@ }, '#notificationSettings':: d.obj(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.\""), notificationSettings: { + '#contactPointRef':: d.obj(help='"Reference to a ContactPoint in alerting to populate contactPoint."'), + contactPointRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { contactPointRef+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { contactPointRef+: { policy+: { resolve: resolve } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { contactPointRef+: { name: name } }, + }, + '#contactPointSelector':: d.obj(help='"Selector for a ContactPoint in alerting to populate contactPoint."'), + contactPointSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { contactPointSelector+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { contactPointSelector+: { policy+: { resolve: resolve } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { contactPointSelector+: { matchControllerRef: matchControllerRef } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { contactPointSelector+: { matchLabels: matchLabels } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { contactPointSelector+: { matchLabels+: matchLabels } }, + }, '#withContactPoint':: d.fn(help='"(String) The contact point to route notifications that match this rule to.\\nThe contact point to route notifications that match this rule to."', args=[d.arg(name='contactPoint', type=d.T.string)]), withContactPoint(contactPoint): { contactPoint: contactPoint }, '#withGroupBy':: d.fn(help="\"(List of String) A list of alert labels to group alerts into notifications by. Use the special label ... to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\\nA list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.\"", args=[d.arg(name='groupBy', type=d.T.array)]), diff --git a/provider-grafana/0.15/_gen/cloud/main.libsonnet b/provider-grafana/0.18/_gen/cloud/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/main.libsonnet rename to provider-grafana/0.18/_gen/cloud/main.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/accessPolicy.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/accessPolicy.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/accessPolicy.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/accessPolicy.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/accessPolicyToken.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/accessPolicyToken.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/accessPolicyToken.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/accessPolicyToken.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/main.libsonnet similarity index 92% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/main.libsonnet index ada1bb81b3..799666375d 100644 --- a/provider-grafana/0.15/_gen/cloud/v1alpha1/main.libsonnet +++ b/provider-grafana/0.18/_gen/cloud/v1alpha1/main.libsonnet @@ -3,7 +3,6 @@ '#':: d.pkg(name='v1alpha1', url='', help=''), accessPolicy: (import 'accessPolicy.libsonnet'), accessPolicyToken: (import 'accessPolicyToken.libsonnet'), - apiKey: (import 'apiKey.libsonnet'), pluginInstallation: (import 'pluginInstallation.libsonnet'), stack: (import 'stack.libsonnet'), stackServiceAccount: (import 'stackServiceAccount.libsonnet'), diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/pluginInstallation.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/pluginInstallation.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/pluginInstallation.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/pluginInstallation.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/stack.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/stack.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/stack.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/stack.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/stackServiceAccount.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/stackServiceAccount.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/stackServiceAccount.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/stackServiceAccount.libsonnet diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/stackServiceAccountToken.libsonnet b/provider-grafana/0.18/_gen/cloud/v1alpha1/stackServiceAccountToken.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/stackServiceAccountToken.libsonnet rename to provider-grafana/0.18/_gen/cloud/v1alpha1/stackServiceAccountToken.libsonnet diff --git a/provider-grafana/0.15/_gen/enterprise/main.libsonnet b/provider-grafana/0.18/_gen/enterprise/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/enterprise/main.libsonnet rename to provider-grafana/0.18/_gen/enterprise/main.libsonnet diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet similarity index 85% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet index 2a0ddccbbc..ee97f0c8a5 100644 --- a/provider-grafana/0.15/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet +++ b/provider-grafana/0.18/_gen/enterprise/v1alpha1/dataSourcePermission.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='dataSourcePermission', url='', help="\"DataSourcePermission is the Schema for the DataSourcePermissions API. Manages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed.\""), + '#':: d.pkg(name='dataSourcePermission', url='', help="\"DataSourcePermission is the Schema for the DataSourcePermissions API. Manages the entire set of permissions for a datasource. Permissions that aren't specified when applying this resource will be removed. HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/\""), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -53,34 +53,6 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { - '#dataSourceRef':: d.obj(help='"Reference to a DataSource in oss to populate datasourceId."'), - dataSourceRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { dataSourceRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { dataSourceRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { forProvider+: { dataSourceRef+: { name: name } } } }, - }, - '#dataSourceSelector':: d.obj(help='"Selector for a DataSource in oss to populate datasourceId."'), - dataSourceSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { dataSourceSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { dataSourceSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { dataSourceSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { forProvider+: { dataSourceSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { dataSourceSelector+: { matchLabels+: matchLabels } } } }, - }, '#organizationRef':: d.obj(help='"Reference to a Organization in oss to populate orgId."'), organizationRef: { '#policy':: d.obj(help='"Policies for referencing."'), @@ -167,7 +139,7 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { userSelector+: { matchLabels+: matchLabels } }, }, - '#withBuiltInRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “."', args=[d.arg(name='builtInRole', type=d.T.string)]), + '#withBuiltInRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='builtInRole', type=d.T.string)]), withBuiltInRole(builtInRole): { builtInRole: builtInRole }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+)."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, @@ -176,8 +148,6 @@ '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Defaults to 0.\\nID of the user or service account to manage permissions for. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), withUserId(userId): { userId: userId }, }, - '#withDatasourceId':: d.fn(help='"(String, Deprecated) Deprecated: Use datasource_uid instead.\\nDeprecated: Use `datasource_uid` instead."', args=[d.arg(name='datasourceId', type=d.T.string)]), - withDatasourceId(datasourceId): { spec+: { forProvider+: { datasourceId: datasourceId } } }, '#withDatasourceUid':: d.fn(help='"(String) UID of the datasource to apply permissions to.\\nUID of the datasource to apply permissions to."', args=[d.arg(name='datasourceUid', type=d.T.string)]), withDatasourceUid(datasourceUid): { spec+: { forProvider+: { datasourceUid: datasourceUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), @@ -189,34 +159,6 @@ }, '#initProvider':: d.obj(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."'), initProvider: { - '#dataSourceRef':: d.obj(help='"Reference to a DataSource in oss to populate datasourceId."'), - dataSourceRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { dataSourceRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { dataSourceRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { initProvider+: { dataSourceRef+: { name: name } } } }, - }, - '#dataSourceSelector':: d.obj(help='"Selector for a DataSource in oss to populate datasourceId."'), - dataSourceSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { dataSourceSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { dataSourceSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { dataSourceSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { initProvider+: { dataSourceSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { dataSourceSelector+: { matchLabels+: matchLabels } } } }, - }, '#organizationRef':: d.obj(help='"Reference to a Organization in oss to populate orgId."'), organizationRef: { '#policy':: d.obj(help='"Policies for referencing."'), @@ -303,7 +245,7 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { userSelector+: { matchLabels+: matchLabels } }, }, - '#withBuiltInRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “."', args=[d.arg(name='builtInRole', type=d.T.string)]), + '#withBuiltInRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='builtInRole', type=d.T.string)]), withBuiltInRole(builtInRole): { builtInRole: builtInRole }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+).\\nPermission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+)."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, @@ -312,8 +254,6 @@ '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Defaults to 0.\\nID of the user or service account to manage permissions for. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), withUserId(userId): { userId: userId }, }, - '#withDatasourceId':: d.fn(help='"(String, Deprecated) Deprecated: Use datasource_uid instead.\\nDeprecated: Use `datasource_uid` instead."', args=[d.arg(name='datasourceId', type=d.T.string)]), - withDatasourceId(datasourceId): { spec+: { initProvider+: { datasourceId: datasourceId } } }, '#withDatasourceUid':: d.fn(help='"(String) UID of the datasource to apply permissions to.\\nUID of the datasource to apply permissions to."', args=[d.arg(name='datasourceUid', type=d.T.string)]), withDatasourceUid(datasourceUid): { spec+: { initProvider+: { datasourceUid: datasourceUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/report.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/report.libsonnet similarity index 81% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/report.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/report.libsonnet index ae2f029a86..c0bd169d90 100644 --- a/provider-grafana/0.15/_gen/enterprise/v1alpha1/report.libsonnet +++ b/provider-grafana/0.18/_gen/enterprise/v1alpha1/report.libsonnet @@ -53,37 +53,9 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { - '#dashboardRef':: d.obj(help='"Reference to a Dashboard in oss to populate dashboardUid."'), - dashboardRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { dashboardRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { dashboardRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { forProvider+: { dashboardRef+: { name: name } } } }, - }, - '#dashboardSelector':: d.obj(help='"Selector for a Dashboard in oss to populate dashboardUid."'), - dashboardSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { forProvider+: { dashboardSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { forProvider+: { dashboardSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { dashboardSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { forProvider+: { dashboardSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { dashboardSelector+: { matchLabels+: matchLabels } } } }, - }, '#dashboards':: d.obj(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"'), dashboards: { - '#timeRange':: d.obj(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."'), + '#timeRange':: d.obj(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."'), timeRange: { '#withFrom':: d.fn(help='"(String) Start of the time range.\\nStart of the time range."', args=[d.arg(name='from', type=d.T.string)]), withFrom(from): { from: from }, @@ -94,9 +66,9 @@ withReportVariables(reportVariables): { reportVariables: reportVariables }, '#withReportVariablesMixin':: d.fn(help='"(Map of String) Add report variables to the dashboard. Values should be separated by commas.\\nAdd report variables to the dashboard. Values should be separated by commas."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='reportVariables', type=d.T.object)]), withReportVariablesMixin(reportVariables): { reportVariables+: reportVariables }, - '#withTimeRange':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), + '#withTimeRange':: d.fn(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), withTimeRange(timeRange): { timeRange: if std.isArray(v=timeRange) then timeRange else [timeRange] }, - '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), + '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), withTimeRangeMixin(timeRange): { timeRange+: if std.isArray(v=timeRange) then timeRange else [timeRange] }, '#withUid':: d.fn(help='"(String) Dashboard uid.\\nDashboard uid."', args=[d.arg(name='uid', type=d.T.string)]), withUid(uid): { uid: uid }, @@ -146,15 +118,6 @@ '#withWorkdaysOnly':: d.fn(help='"(Boolean) Whether to send the report only on work days. Defaults to false.\\nWhether to send the report only on work days. Defaults to `false`."', args=[d.arg(name='workdaysOnly', type=d.T.boolean)]), withWorkdaysOnly(workdaysOnly): { workdaysOnly: workdaysOnly }, }, - '#timeRange':: d.obj(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."'), - timeRange: { - '#withFrom':: d.fn(help='"(String) Start of the time range.\\nStart of the time range."', args=[d.arg(name='from', type=d.T.string)]), - withFrom(from): { from: from }, - '#withTo':: d.fn(help='"(String) End of the time range.\\nEnd of the time range."', args=[d.arg(name='to', type=d.T.string)]), - withTo(to): { to: to }, - }, - '#withDashboardUid':: d.fn(help='"(String, Deprecated) Dashboard to be sent in the report.\\nDashboard to be sent in the report."', args=[d.arg(name='dashboardUid', type=d.T.string)]), - withDashboardUid(dashboardUid): { spec+: { forProvider+: { dashboardUid: dashboardUid } } }, '#withDashboards':: d.fn(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"', args=[d.arg(name='dashboards', type=d.T.array)]), withDashboards(dashboards): { spec+: { forProvider+: { dashboards: if std.isArray(v=dashboards) then dashboards else [dashboards] } } }, '#withDashboardsMixin':: d.fn(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='dashboards', type=d.T.array)]), @@ -187,44 +150,12 @@ withSchedule(schedule): { spec+: { forProvider+: { schedule: if std.isArray(v=schedule) then schedule else [schedule] } } }, '#withScheduleMixin':: d.fn(help='"(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\\nSchedule of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='schedule', type=d.T.array)]), withScheduleMixin(schedule): { spec+: { forProvider+: { schedule+: if std.isArray(v=schedule) then schedule else [schedule] } } }, - '#withTimeRange':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), - withTimeRange(timeRange): { spec+: { forProvider+: { timeRange: if std.isArray(v=timeRange) then timeRange else [timeRange] } } }, - '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), - withTimeRangeMixin(timeRange): { spec+: { forProvider+: { timeRange+: if std.isArray(v=timeRange) then timeRange else [timeRange] } } }, }, '#initProvider':: d.obj(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."'), initProvider: { - '#dashboardRef':: d.obj(help='"Reference to a Dashboard in oss to populate dashboardUid."'), - dashboardRef: { - '#policy':: d.obj(help='"Policies for referencing."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { dashboardRef+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { dashboardRef+: { policy+: { resolve: resolve } } } } }, - }, - '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { initProvider+: { dashboardRef+: { name: name } } } }, - }, - '#dashboardSelector':: d.obj(help='"Selector for a Dashboard in oss to populate dashboardUid."'), - dashboardSelector: { - '#policy':: d.obj(help='"Policies for selection."'), - policy: { - '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), - withResolution(resolution): { spec+: { initProvider+: { dashboardSelector+: { policy+: { resolution: resolution } } } } }, - '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), - withResolve(resolve): { spec+: { initProvider+: { dashboardSelector+: { policy+: { resolve: resolve } } } } }, - }, - '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), - withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { dashboardSelector+: { matchControllerRef: matchControllerRef } } } }, - '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabels(matchLabels): { spec+: { initProvider+: { dashboardSelector+: { matchLabels: matchLabels } } } }, - '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), - withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { dashboardSelector+: { matchLabels+: matchLabels } } } }, - }, '#dashboards':: d.obj(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"'), dashboards: { - '#timeRange':: d.obj(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."'), + '#timeRange':: d.obj(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."'), timeRange: { '#withFrom':: d.fn(help='"(String) Start of the time range.\\nStart of the time range."', args=[d.arg(name='from', type=d.T.string)]), withFrom(from): { from: from }, @@ -235,9 +166,9 @@ withReportVariables(reportVariables): { reportVariables: reportVariables }, '#withReportVariablesMixin':: d.fn(help='"(Map of String) Add report variables to the dashboard. Values should be separated by commas.\\nAdd report variables to the dashboard. Values should be separated by commas."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='reportVariables', type=d.T.object)]), withReportVariablesMixin(reportVariables): { reportVariables+: reportVariables }, - '#withTimeRange':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), + '#withTimeRange':: d.fn(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), withTimeRange(timeRange): { timeRange: if std.isArray(v=timeRange) then timeRange else [timeRange] }, - '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), + '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), withTimeRangeMixin(timeRange): { timeRange+: if std.isArray(v=timeRange) then timeRange else [timeRange] }, '#withUid':: d.fn(help='"(String) Dashboard uid.\\nDashboard uid."', args=[d.arg(name='uid', type=d.T.string)]), withUid(uid): { uid: uid }, @@ -287,15 +218,6 @@ '#withWorkdaysOnly':: d.fn(help='"(Boolean) Whether to send the report only on work days. Defaults to false.\\nWhether to send the report only on work days. Defaults to `false`."', args=[d.arg(name='workdaysOnly', type=d.T.boolean)]), withWorkdaysOnly(workdaysOnly): { workdaysOnly: workdaysOnly }, }, - '#timeRange':: d.obj(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."'), - timeRange: { - '#withFrom':: d.fn(help='"(String) Start of the time range.\\nStart of the time range."', args=[d.arg(name='from', type=d.T.string)]), - withFrom(from): { from: from }, - '#withTo':: d.fn(help='"(String) End of the time range.\\nEnd of the time range."', args=[d.arg(name='to', type=d.T.string)]), - withTo(to): { to: to }, - }, - '#withDashboardUid':: d.fn(help='"(String, Deprecated) Dashboard to be sent in the report.\\nDashboard to be sent in the report."', args=[d.arg(name='dashboardUid', type=d.T.string)]), - withDashboardUid(dashboardUid): { spec+: { initProvider+: { dashboardUid: dashboardUid } } }, '#withDashboards':: d.fn(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"', args=[d.arg(name='dashboards', type=d.T.array)]), withDashboards(dashboards): { spec+: { initProvider+: { dashboards: if std.isArray(v=dashboards) then dashboards else [dashboards] } } }, '#withDashboardsMixin':: d.fn(help='"(Block List) List of dashboards to render into the report (see below for nested schema)\\nList of dashboards to render into the report"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='dashboards', type=d.T.array)]), @@ -328,10 +250,6 @@ withSchedule(schedule): { spec+: { initProvider+: { schedule: if std.isArray(v=schedule) then schedule else [schedule] } } }, '#withScheduleMixin':: d.fn(help='"(Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema)\\nSchedule of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='schedule', type=d.T.array)]), withScheduleMixin(schedule): { spec+: { initProvider+: { schedule+: if std.isArray(v=schedule) then schedule else [schedule] } } }, - '#withTimeRange':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."', args=[d.arg(name='timeRange', type=d.T.array)]), - withTimeRange(timeRange): { spec+: { initProvider+: { timeRange: if std.isArray(v=timeRange) then timeRange else [timeRange] } } }, - '#withTimeRangeMixin':: d.fn(help='"(Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema)\\nTime range of the report."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='timeRange', type=d.T.array)]), - withTimeRangeMixin(timeRange): { spec+: { initProvider+: { timeRange+: if std.isArray(v=timeRange) then timeRange else [timeRange] } } }, }, '#providerConfigRef':: d.obj(help='"ProviderConfigReference specifies how the provider that will be used to\\ncreate, observe, update, and delete this managed resource should be\\nconfigured."'), providerConfigRef: { diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/role.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/role.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/role.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/role.libsonnet diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/roleAssignment.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/roleAssignment.libsonnet similarity index 99% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/roleAssignment.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/roleAssignment.libsonnet index 23d6bc7f5f..bc2e80200e 100644 --- a/provider-grafana/0.15/_gen/enterprise/v1alpha1/roleAssignment.libsonnet +++ b/provider-grafana/0.18/_gen/enterprise/v1alpha1/roleAssignment.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='roleAssignment', url='', help="\"RoleAssignment is the Schema for the RoleAssignments API. Manages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed. Note: This resource is available only with Grafana Enterprise 9.2+.\""), + '#':: d.pkg(name='roleAssignment', url='', help="\"RoleAssignment is the Schema for the RoleAssignments API. Manages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed. Note: This resource is available only with Grafana Enterprise 9.2+. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/access_control/\""), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), diff --git a/provider-grafana/0.15/_gen/enterprise/v1alpha1/teamExternalGroup.libsonnet b/provider-grafana/0.18/_gen/enterprise/v1alpha1/teamExternalGroup.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/enterprise/v1alpha1/teamExternalGroup.libsonnet rename to provider-grafana/0.18/_gen/enterprise/v1alpha1/teamExternalGroup.libsonnet diff --git a/provider-grafana/0.15/_gen/grafana/main.libsonnet b/provider-grafana/0.18/_gen/grafana/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/grafana/main.libsonnet rename to provider-grafana/0.18/_gen/grafana/main.libsonnet diff --git a/provider-grafana/0.15/_gen/grafana/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/grafana/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/grafana/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/grafana/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/grafana/v1alpha1/storeConfig.libsonnet b/provider-grafana/0.18/_gen/grafana/v1alpha1/storeConfig.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/grafana/v1alpha1/storeConfig.libsonnet rename to provider-grafana/0.18/_gen/grafana/v1alpha1/storeConfig.libsonnet diff --git a/provider-grafana/0.15/_gen/grafana/v1beta1/main.libsonnet b/provider-grafana/0.18/_gen/grafana/v1beta1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/grafana/v1beta1/main.libsonnet rename to provider-grafana/0.18/_gen/grafana/v1beta1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/grafana/v1beta1/providerConfig.libsonnet b/provider-grafana/0.18/_gen/grafana/v1beta1/providerConfig.libsonnet similarity index 93% rename from provider-grafana/0.15/_gen/grafana/v1beta1/providerConfig.libsonnet rename to provider-grafana/0.18/_gen/grafana/v1beta1/providerConfig.libsonnet index 9c95acb16e..4e8a021816 100644 --- a/provider-grafana/0.15/_gen/grafana/v1beta1/providerConfig.libsonnet +++ b/provider-grafana/0.18/_gen/grafana/v1beta1/providerConfig.libsonnet @@ -75,6 +75,14 @@ '#withSource':: d.fn(help='"Source of the provider credentials."', args=[d.arg(name='source', type=d.T.string)]), withSource(source): { spec+: { credentials+: { source: source } } }, }, + '#withCloudApiUrl':: d.fn(help='"Override the Grafana Cloud API URL from the credentials reference attribute."', args=[d.arg(name='cloudApiUrl', type=d.T.string)]), + withCloudApiUrl(cloudApiUrl): { spec+: { cloudApiUrl: cloudApiUrl } }, + '#withOncallUrl':: d.fn(help='"Override the OnCall API URL from the credentials reference attribute."', args=[d.arg(name='oncallUrl', type=d.T.string)]), + withOncallUrl(oncallUrl): { spec+: { oncallUrl: oncallUrl } }, + '#withSmUrl':: d.fn(help='"Override the Synthetic Monitoring API URL from the credentials reference attribute."', args=[d.arg(name='smUrl', type=d.T.string)]), + withSmUrl(smUrl): { spec+: { smUrl: smUrl } }, + '#withUrl':: d.fn(help='"Override the Grafana URL from the credentials reference attribute."', args=[d.arg(name='url', type=d.T.string)]), + withUrl(url): { spec+: { url: url } }, }, '#mixin': 'ignore', mixin: self, diff --git a/provider-grafana/0.15/_gen/grafana/v1beta1/providerConfigUsage.libsonnet b/provider-grafana/0.18/_gen/grafana/v1beta1/providerConfigUsage.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/grafana/v1beta1/providerConfigUsage.libsonnet rename to provider-grafana/0.18/_gen/grafana/v1beta1/providerConfigUsage.libsonnet diff --git a/provider-grafana/0.15/_gen/ml/main.libsonnet b/provider-grafana/0.18/_gen/ml/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/ml/main.libsonnet rename to provider-grafana/0.18/_gen/ml/main.libsonnet diff --git a/provider-grafana/0.15/_gen/ml/v1alpha1/holiday.libsonnet b/provider-grafana/0.18/_gen/ml/v1alpha1/holiday.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/ml/v1alpha1/holiday.libsonnet rename to provider-grafana/0.18/_gen/ml/v1alpha1/holiday.libsonnet diff --git a/provider-grafana/0.15/_gen/ml/v1alpha1/job.libsonnet b/provider-grafana/0.18/_gen/ml/v1alpha1/job.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/ml/v1alpha1/job.libsonnet rename to provider-grafana/0.18/_gen/ml/v1alpha1/job.libsonnet index 4121c3ed9b..74447c6639 100644 --- a/provider-grafana/0.15/_gen/ml/v1alpha1/job.libsonnet +++ b/provider-grafana/0.18/_gen/ml/v1alpha1/job.libsonnet @@ -85,8 +85,6 @@ withCustomLabels(customLabels): { spec+: { forProvider+: { customLabels: customLabels } } }, '#withCustomLabelsMixin':: d.fn(help='"An object representing the custom labels added on the forecast."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='customLabels', type=d.T.object)]), withCustomLabelsMixin(customLabels): { spec+: { forProvider+: { customLabels+: customLabels } } }, - '#withDatasourceId':: d.fn(help='"The id of the datasource to query."', args=[d.arg(name='datasourceId', type=d.T.number)]), - withDatasourceId(datasourceId): { spec+: { forProvider+: { datasourceId: datasourceId } } }, '#withDatasourceType':: d.fn(help='"The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog."', args=[d.arg(name='datasourceType', type=d.T.string)]), withDatasourceType(datasourceType): { spec+: { forProvider+: { datasourceType: datasourceType } } }, '#withDatasourceUid':: d.fn(help='"The uid of the datasource to query."', args=[d.arg(name='datasourceUid', type=d.T.string)]), @@ -148,8 +146,6 @@ withCustomLabels(customLabels): { spec+: { initProvider+: { customLabels: customLabels } } }, '#withCustomLabelsMixin':: d.fn(help='"An object representing the custom labels added on the forecast."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='customLabels', type=d.T.object)]), withCustomLabelsMixin(customLabels): { spec+: { initProvider+: { customLabels+: customLabels } } }, - '#withDatasourceId':: d.fn(help='"The id of the datasource to query."', args=[d.arg(name='datasourceId', type=d.T.number)]), - withDatasourceId(datasourceId): { spec+: { initProvider+: { datasourceId: datasourceId } } }, '#withDatasourceType':: d.fn(help='"The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog."', args=[d.arg(name='datasourceType', type=d.T.string)]), withDatasourceType(datasourceType): { spec+: { initProvider+: { datasourceType: datasourceType } } }, '#withDatasourceUid':: d.fn(help='"The uid of the datasource to query."', args=[d.arg(name='datasourceUid', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/ml/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/ml/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/ml/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/ml/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/ml/v1alpha1/outlierDetector.libsonnet b/provider-grafana/0.18/_gen/ml/v1alpha1/outlierDetector.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/ml/v1alpha1/outlierDetector.libsonnet rename to provider-grafana/0.18/_gen/ml/v1alpha1/outlierDetector.libsonnet index 4147c01114..1a85bda85f 100644 --- a/provider-grafana/0.15/_gen/ml/v1alpha1/outlierDetector.libsonnet +++ b/provider-grafana/0.18/_gen/ml/v1alpha1/outlierDetector.libsonnet @@ -101,8 +101,6 @@ withAlgorithm(algorithm): { spec+: { forProvider+: { algorithm: if std.isArray(v=algorithm) then algorithm else [algorithm] } } }, '#withAlgorithmMixin':: d.fn(help='"The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='algorithm', type=d.T.array)]), withAlgorithmMixin(algorithm): { spec+: { forProvider+: { algorithm+: if std.isArray(v=algorithm) then algorithm else [algorithm] } } }, - '#withDatasourceId':: d.fn(help='"The id of the datasource to query."', args=[d.arg(name='datasourceId', type=d.T.number)]), - withDatasourceId(datasourceId): { spec+: { forProvider+: { datasourceId: datasourceId } } }, '#withDatasourceType':: d.fn(help='"The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog."', args=[d.arg(name='datasourceType', type=d.T.string)]), withDatasourceType(datasourceType): { spec+: { forProvider+: { datasourceType: datasourceType } } }, '#withDatasourceUid':: d.fn(help='"The uid of the datasource to query."', args=[d.arg(name='datasourceUid', type=d.T.string)]), @@ -170,8 +168,6 @@ withAlgorithm(algorithm): { spec+: { initProvider+: { algorithm: if std.isArray(v=algorithm) then algorithm else [algorithm] } } }, '#withAlgorithmMixin':: d.fn(help='"The algorithm to use and its configuration. See https://grafana.com/docs/grafana-cloud/machine-learning/outlier-detection/ for details."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='algorithm', type=d.T.array)]), withAlgorithmMixin(algorithm): { spec+: { initProvider+: { algorithm+: if std.isArray(v=algorithm) then algorithm else [algorithm] } } }, - '#withDatasourceId':: d.fn(help='"The id of the datasource to query."', args=[d.arg(name='datasourceId', type=d.T.number)]), - withDatasourceId(datasourceId): { spec+: { initProvider+: { datasourceId: datasourceId } } }, '#withDatasourceType':: d.fn(help='"The type of datasource being queried. Currently allowed values are prometheus, graphite, loki, postgres, and datadog."', args=[d.arg(name='datasourceType', type=d.T.string)]), withDatasourceType(datasourceType): { spec+: { initProvider+: { datasourceType: datasourceType } } }, '#withDatasourceUid':: d.fn(help='"The uid of the datasource to query."', args=[d.arg(name='datasourceUid', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/oncall/main.libsonnet b/provider-grafana/0.18/_gen/oncall/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oncall/main.libsonnet rename to provider-grafana/0.18/_gen/oncall/main.libsonnet diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/escalation.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/escalation.libsonnet similarity index 61% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/escalation.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/escalation.libsonnet index 006810b8e8..8a7248ae58 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/escalation.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/escalation.libsonnet @@ -53,6 +53,90 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { + '#actionToTriggerRef':: d.obj(help='"Reference to a OutgoingWebhook in oncall to populate actionToTrigger."'), + actionToTriggerRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { actionToTriggerRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { actionToTriggerRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { forProvider+: { actionToTriggerRef+: { name: name } } } }, + }, + '#actionToTriggerSelector':: d.obj(help='"Selector for a OutgoingWebhook in oncall to populate actionToTrigger."'), + actionToTriggerSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { actionToTriggerSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { actionToTriggerSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { actionToTriggerSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { actionToTriggerSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { actionToTriggerSelector+: { matchLabels+: matchLabels } } } }, + }, + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { escalationChainRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { escalationChainRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { forProvider+: { escalationChainRef+: { name: name } } } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { escalationChainSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { escalationChainSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { escalationChainSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { escalationChainSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { escalationChainSelector+: { matchLabels+: matchLabels } } } }, + }, + '#notifyOnCallFromScheduleRef':: d.obj(help='"Reference to a Schedule in oncall to populate notifyOnCallFromSchedule."'), + notifyOnCallFromScheduleRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { notifyOnCallFromScheduleRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { notifyOnCallFromScheduleRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { forProvider+: { notifyOnCallFromScheduleRef+: { name: name } } } }, + }, + '#notifyOnCallFromScheduleSelector':: d.obj(help='"Selector for a Schedule in oncall to populate notifyOnCallFromSchedule."'), + notifyOnCallFromScheduleSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { notifyOnCallFromScheduleSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { notifyOnCallFromScheduleSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { notifyOnCallFromScheduleSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { notifyOnCallFromScheduleSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { notifyOnCallFromScheduleSelector+: { matchLabels+: matchLabels } } } }, + }, '#withActionToTrigger':: d.fn(help='"(String) The ID of an Action for trigger_webhook type step.\\nThe ID of an Action for trigger_webhook type step."', args=[d.arg(name='actionToTrigger', type=d.T.string)]), withActionToTrigger(actionToTrigger): { spec+: { forProvider+: { actionToTrigger: actionToTrigger } } }, '#withDuration':: d.fn(help='"(Number) The duration of delay for wait type step.\\nThe duration of delay for wait type step."', args=[d.arg(name='duration', type=d.T.number)]), @@ -86,6 +170,90 @@ }, '#initProvider':: d.obj(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."'), initProvider: { + '#actionToTriggerRef':: d.obj(help='"Reference to a OutgoingWebhook in oncall to populate actionToTrigger."'), + actionToTriggerRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { actionToTriggerRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { actionToTriggerRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { actionToTriggerRef+: { name: name } } } }, + }, + '#actionToTriggerSelector':: d.obj(help='"Selector for a OutgoingWebhook in oncall to populate actionToTrigger."'), + actionToTriggerSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { actionToTriggerSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { actionToTriggerSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { actionToTriggerSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { actionToTriggerSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { actionToTriggerSelector+: { matchLabels+: matchLabels } } } }, + }, + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { escalationChainRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { escalationChainRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { escalationChainRef+: { name: name } } } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { escalationChainSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { escalationChainSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { escalationChainSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { escalationChainSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { escalationChainSelector+: { matchLabels+: matchLabels } } } }, + }, + '#notifyOnCallFromScheduleRef':: d.obj(help='"Reference to a Schedule in oncall to populate notifyOnCallFromSchedule."'), + notifyOnCallFromScheduleRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { notifyOnCallFromScheduleRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { notifyOnCallFromScheduleRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { notifyOnCallFromScheduleRef+: { name: name } } } }, + }, + '#notifyOnCallFromScheduleSelector':: d.obj(help='"Selector for a Schedule in oncall to populate notifyOnCallFromSchedule."'), + notifyOnCallFromScheduleSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { notifyOnCallFromScheduleSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { notifyOnCallFromScheduleSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { notifyOnCallFromScheduleSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { notifyOnCallFromScheduleSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { notifyOnCallFromScheduleSelector+: { matchLabels+: matchLabels } } } }, + }, '#withActionToTrigger':: d.fn(help='"(String) The ID of an Action for trigger_webhook type step.\\nThe ID of an Action for trigger_webhook type step."', args=[d.arg(name='actionToTrigger', type=d.T.string)]), withActionToTrigger(actionToTrigger): { spec+: { initProvider+: { actionToTrigger: actionToTrigger } } }, '#withDuration':: d.fn(help='"(Number) The duration of delay for wait type step.\\nThe duration of delay for wait type step."', args=[d.arg(name='duration', type=d.T.number)]), diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/escalationChain.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/escalationChain.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/escalationChain.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/escalationChain.libsonnet diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/integration.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/integration.libsonnet similarity index 89% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/integration.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/integration.libsonnet index 61cf84d94f..df9330ae5e 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/integration.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/integration.libsonnet @@ -55,6 +55,34 @@ forProvider: { '#defaultRoute':: d.obj(help='"(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\\nThe Default route for all alerts from the given integration"'), defaultRoute: { + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { escalationChainRef+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { escalationChainRef+: { policy+: { resolve: resolve } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { escalationChainRef+: { name: name } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { escalationChainSelector+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { escalationChainSelector+: { policy+: { resolve: resolve } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { escalationChainSelector+: { matchControllerRef: matchControllerRef } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { escalationChainSelector+: { matchLabels: matchLabels } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { escalationChainSelector+: { matchLabels+: matchLabels } }, + }, '#msteams':: d.obj(help='"specific settings for a route. (see below for nested schema)\\nMS teams-specific settings for a route."'), msteams: { '#withEnabled':: d.fn(help='"(Boolean) Enable notification in MS teams. Defaults to true.\\nEnable notification in MS teams. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), @@ -202,6 +230,34 @@ initProvider: { '#defaultRoute':: d.obj(help='"(Block List, Min: 1, Max: 1) The Default route for all alerts from the given integration (see below for nested schema)\\nThe Default route for all alerts from the given integration"'), defaultRoute: { + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { escalationChainRef+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { escalationChainRef+: { policy+: { resolve: resolve } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { escalationChainRef+: { name: name } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { escalationChainSelector+: { policy+: { resolution: resolution } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { escalationChainSelector+: { policy+: { resolve: resolve } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { escalationChainSelector+: { matchControllerRef: matchControllerRef } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { escalationChainSelector+: { matchLabels: matchLabels } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { escalationChainSelector+: { matchLabels+: matchLabels } }, + }, '#msteams':: d.obj(help='"specific settings for a route. (see below for nested schema)\\nMS teams-specific settings for a route."'), msteams: { '#withEnabled':: d.fn(help='"(Boolean) Enable notification in MS teams. Defaults to true.\\nEnable notification in MS teams. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/main.libsonnet similarity index 86% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/main.libsonnet index a14f131349..be29bf72dd 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/main.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/main.libsonnet @@ -8,4 +8,5 @@ outgoingWebhook: (import 'outgoingWebhook.libsonnet'), route: (import 'route.libsonnet'), schedule: (import 'schedule.libsonnet'), + userNotificationRule: (import 'userNotificationRule.libsonnet'), } diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/onCallShift.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/onCallShift.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/onCallShift.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/onCallShift.libsonnet diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet similarity index 93% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet index ec3a63df29..1669eae19d 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/outgoingWebhook.libsonnet @@ -83,7 +83,7 @@ withIntegrationFilter(integrationFilter): { spec+: { forProvider+: { integrationFilter: if std.isArray(v=integrationFilter) then integrationFilter else [integrationFilter] } } }, '#withIntegrationFilterMixin':: d.fn(help='"(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='integrationFilter', type=d.T.array)]), withIntegrationFilterMixin(integrationFilter): { spec+: { forProvider+: { integrationFilter+: if std.isArray(v=integrationFilter) then integrationFilter else [integrationFilter] } } }, - '#withIsWebhookEnabled':: d.fn(help='"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.\\nControls whether the outgoing webhook will trigger or is ignored. The default is `true`."', args=[d.arg(name='isWebhookEnabled', type=d.T.boolean)]), + '#withIsWebhookEnabled':: d.fn(help='"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`."', args=[d.arg(name='isWebhookEnabled', type=d.T.boolean)]), withIsWebhookEnabled(isWebhookEnabled): { spec+: { forProvider+: { isWebhookEnabled: isWebhookEnabled } } }, '#withName':: d.fn(help='"(String) The name of the outgoing webhook.\\nThe name of the outgoing webhook."', args=[d.arg(name='name', type=d.T.string)]), withName(name): { spec+: { forProvider+: { name: name } } }, @@ -100,6 +100,24 @@ }, '#initProvider':: d.obj(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."'), initProvider: { + '#authorizationHeaderSecretRef':: d.obj(help='"(String, Sensitive) The auth data of the webhook. Used in Authorization header instead of user/password auth.\\nThe auth data of the webhook. Used in Authorization header instead of user/password auth."'), + authorizationHeaderSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { spec+: { initProvider+: { authorizationHeaderSecretRef+: { key: key } } } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { authorizationHeaderSecretRef+: { name: name } } } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { spec+: { initProvider+: { authorizationHeaderSecretRef+: { namespace: namespace } } } }, + }, + '#passwordSecretRef':: d.obj(help='"(String, Sensitive) The auth data of the webhook. Used for Basic authentication\\nThe auth data of the webhook. Used for Basic authentication"'), + passwordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { spec+: { initProvider+: { passwordSecretRef+: { key: key } } } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { passwordSecretRef+: { name: name } } } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { spec+: { initProvider+: { passwordSecretRef+: { namespace: namespace } } } }, + }, '#withData':: d.fn(help='"(String) The data of the webhook.\\nThe data of the webhook."', args=[d.arg(name='data', type=d.T.string)]), withData(data): { spec+: { initProvider+: { data: data } } }, '#withForwardWholePayload':: d.fn(help='"(Boolean) Toggle to send the entire webhook payload instead of using the values in the Data field.\\nToggle to send the entire webhook payload instead of using the values in the Data field."', args=[d.arg(name='forwardWholePayload', type=d.T.boolean)]), @@ -112,7 +130,7 @@ withIntegrationFilter(integrationFilter): { spec+: { initProvider+: { integrationFilter: if std.isArray(v=integrationFilter) then integrationFilter else [integrationFilter] } } }, '#withIntegrationFilterMixin':: d.fn(help='"(List of String) Restricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration.\\nRestricts the outgoing webhook to only trigger if the event came from a selected integration. If no integrations are selected the outgoing webhook will trigger for any integration."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='integrationFilter', type=d.T.array)]), withIntegrationFilterMixin(integrationFilter): { spec+: { initProvider+: { integrationFilter+: if std.isArray(v=integrationFilter) then integrationFilter else [integrationFilter] } } }, - '#withIsWebhookEnabled':: d.fn(help='"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. The default is true.\\nControls whether the outgoing webhook will trigger or is ignored. The default is `true`."', args=[d.arg(name='isWebhookEnabled', type=d.T.boolean)]), + '#withIsWebhookEnabled':: d.fn(help='"(Boolean) Controls whether the outgoing webhook will trigger or is ignored. Defaults to true.\\nControls whether the outgoing webhook will trigger or is ignored. Defaults to `true`."', args=[d.arg(name='isWebhookEnabled', type=d.T.boolean)]), withIsWebhookEnabled(isWebhookEnabled): { spec+: { initProvider+: { isWebhookEnabled: isWebhookEnabled } } }, '#withName':: d.fn(help='"(String) The name of the outgoing webhook.\\nThe name of the outgoing webhook."', args=[d.arg(name='name', type=d.T.string)]), withName(name): { spec+: { initProvider+: { name: name } } }, diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/route.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/route.libsonnet similarity index 69% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/route.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/route.libsonnet index 3b3e2d32c9..2b2831b977 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/route.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/route.libsonnet @@ -53,6 +53,62 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { escalationChainRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { escalationChainRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { forProvider+: { escalationChainRef+: { name: name } } } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { escalationChainSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { escalationChainSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { escalationChainSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { escalationChainSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { escalationChainSelector+: { matchLabels+: matchLabels } } } }, + }, + '#integrationRef':: d.obj(help='"Reference to a Integration in oncall to populate integrationId."'), + integrationRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { integrationRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { integrationRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { forProvider+: { integrationRef+: { name: name } } } }, + }, + '#integrationSelector':: d.obj(help='"Selector for a Integration in oncall to populate integrationId."'), + integrationSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { integrationSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { integrationSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { integrationSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { integrationSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { integrationSelector+: { matchLabels+: matchLabels } } } }, + }, '#msteams':: d.obj(help='"specific settings for a route. (see below for nested schema)\\nMS teams-specific settings for a route."'), msteams: { '#withEnabled':: d.fn(help='"(Boolean) Enable notification in MS teams. Defaults to true.\\nEnable notification in MS teams. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), @@ -99,6 +155,62 @@ }, '#initProvider':: d.obj(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."'), initProvider: { + '#escalationChainRef':: d.obj(help='"Reference to a EscalationChain in oncall to populate escalationChainId."'), + escalationChainRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { escalationChainRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { escalationChainRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { escalationChainRef+: { name: name } } } }, + }, + '#escalationChainSelector':: d.obj(help='"Selector for a EscalationChain in oncall to populate escalationChainId."'), + escalationChainSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { escalationChainSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { escalationChainSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { escalationChainSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { escalationChainSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { escalationChainSelector+: { matchLabels+: matchLabels } } } }, + }, + '#integrationRef':: d.obj(help='"Reference to a Integration in oncall to populate integrationId."'), + integrationRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { integrationRef+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { integrationRef+: { policy+: { resolve: resolve } } } } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { integrationRef+: { name: name } } } }, + }, + '#integrationSelector':: d.obj(help='"Selector for a Integration in oncall to populate integrationId."'), + integrationSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { integrationSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { integrationSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { integrationSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { integrationSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { integrationSelector+: { matchLabels+: matchLabels } } } }, + }, '#msteams':: d.obj(help='"specific settings for a route. (see below for nested schema)\\nMS teams-specific settings for a route."'), msteams: { '#withEnabled':: d.fn(help='"(Boolean) Enable notification in MS teams. Defaults to true.\\nEnable notification in MS teams. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), diff --git a/provider-grafana/0.15/_gen/oncall/v1alpha1/schedule.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/schedule.libsonnet similarity index 78% rename from provider-grafana/0.15/_gen/oncall/v1alpha1/schedule.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/schedule.libsonnet index 257c06a510..1c9e25ab75 100644 --- a/provider-grafana/0.15/_gen/oncall/v1alpha1/schedule.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/schedule.libsonnet @@ -53,6 +53,34 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { + '#shiftsRef':: d.obj(help='"References to OnCallShift in oncall to populate shifts."'), + shiftsRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { policy+: { resolution: resolution } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { policy+: { resolve: resolve } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { name: name }, + }, + '#shiftsSelector':: d.obj(help='"Selector for a list of OnCallShift in oncall to populate shifts."'), + shiftsSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { forProvider+: { shiftsSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { forProvider+: { shiftsSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { forProvider+: { shiftsSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { forProvider+: { shiftsSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { shiftsSelector+: { matchLabels+: matchLabels } } } }, + }, '#slack':: d.obj(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."'), slack: { '#withChannelId':: d.fn(help='"(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack."', args=[d.arg(name='channelId', type=d.T.string)]), @@ -72,6 +100,10 @@ withShifts(shifts): { spec+: { forProvider+: { shifts: if std.isArray(v=shifts) then shifts else [shifts] } } }, '#withShiftsMixin':: d.fn(help="\"call shifts.\\nThe list of ID's of on-call shifts.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='shifts', type=d.T.array)]), withShiftsMixin(shifts): { spec+: { forProvider+: { shifts+: if std.isArray(v=shifts) then shifts else [shifts] } } }, + '#withShiftsRef':: d.fn(help='"References to OnCallShift in oncall to populate shifts."', args=[d.arg(name='shiftsRef', type=d.T.array)]), + withShiftsRef(shiftsRef): { spec+: { forProvider+: { shiftsRef: if std.isArray(v=shiftsRef) then shiftsRef else [shiftsRef] } } }, + '#withShiftsRefMixin':: d.fn(help='"References to OnCallShift in oncall to populate shifts."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='shiftsRef', type=d.T.array)]), + withShiftsRefMixin(shiftsRef): { spec+: { forProvider+: { shiftsRef+: if std.isArray(v=shiftsRef) then shiftsRef else [shiftsRef] } } }, '#withSlack':: d.fn(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."', args=[d.arg(name='slack', type=d.T.array)]), withSlack(slack): { spec+: { forProvider+: { slack: if std.isArray(v=slack) then slack else [slack] } } }, '#withSlackMixin':: d.fn(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='slack', type=d.T.array)]), @@ -80,11 +112,39 @@ withTeamId(teamId): { spec+: { forProvider+: { teamId: teamId } } }, '#withTimeZone':: d.fn(help="\"(String) The schedule's time zone.\\nThe schedule's time zone.\"", args=[d.arg(name='timeZone', type=d.T.string)]), withTimeZone(timeZone): { spec+: { forProvider+: { timeZone: timeZone } } }, - '#withType':: d.fn(help="\"(String) The schedule's type.\\nThe schedule's type.\"", args=[d.arg(name='type', type=d.T.string)]), + '#withType':: d.fn(help="\"(String) The schedule's type. Valid values are ical, calendar.\\nThe schedule's type. Valid values are `ical`, `calendar`.\"", args=[d.arg(name='type', type=d.T.string)]), withType(type): { spec+: { forProvider+: { type: type } } }, }, '#initProvider':: d.obj(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."'), initProvider: { + '#shiftsRef':: d.obj(help='"References to OnCallShift in oncall to populate shifts."'), + shiftsRef: { + '#policy':: d.obj(help='"Policies for referencing."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { policy+: { resolution: resolution } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { policy+: { resolve: resolve } }, + }, + '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { name: name }, + }, + '#shiftsSelector':: d.obj(help='"Selector for a list of OnCallShift in oncall to populate shifts."'), + shiftsSelector: { + '#policy':: d.obj(help='"Policies for selection."'), + policy: { + '#withResolution':: d.fn(help="\"Resolution specifies whether resolution of this reference is required.\\nThe default is 'Required', which means the reconcile will fail if the\\nreference cannot be resolved. 'Optional' means this reference will be\\na no-op if it cannot be resolved.\"", args=[d.arg(name='resolution', type=d.T.string)]), + withResolution(resolution): { spec+: { initProvider+: { shiftsSelector+: { policy+: { resolution: resolution } } } } }, + '#withResolve':: d.fn(help="\"Resolve specifies when this reference should be resolved. The default\\nis 'IfNotPresent', which will attempt to resolve the reference only when\\nthe corresponding field is not present. Use 'Always' to resolve the\\nreference on every reconcile.\"", args=[d.arg(name='resolve', type=d.T.string)]), + withResolve(resolve): { spec+: { initProvider+: { shiftsSelector+: { policy+: { resolve: resolve } } } } }, + }, + '#withMatchControllerRef':: d.fn(help='"MatchControllerRef ensures an object with the same controller reference\\nas the selecting object is selected."', args=[d.arg(name='matchControllerRef', type=d.T.boolean)]), + withMatchControllerRef(matchControllerRef): { spec+: { initProvider+: { shiftsSelector+: { matchControllerRef: matchControllerRef } } } }, + '#withMatchLabels':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabels(matchLabels): { spec+: { initProvider+: { shiftsSelector+: { matchLabels: matchLabels } } } }, + '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), + withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { shiftsSelector+: { matchLabels+: matchLabels } } } }, + }, '#slack':: d.obj(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."'), slack: { '#withChannelId':: d.fn(help='"(String) Slack channel id. Reminder about schedule shifts will be directed to this channel in Slack.\\nSlack channel id. Reminder about schedule shifts will be directed to this channel in Slack."', args=[d.arg(name='channelId', type=d.T.string)]), @@ -104,6 +164,10 @@ withShifts(shifts): { spec+: { initProvider+: { shifts: if std.isArray(v=shifts) then shifts else [shifts] } } }, '#withShiftsMixin':: d.fn(help="\"call shifts.\\nThe list of ID's of on-call shifts.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='shifts', type=d.T.array)]), withShiftsMixin(shifts): { spec+: { initProvider+: { shifts+: if std.isArray(v=shifts) then shifts else [shifts] } } }, + '#withShiftsRef':: d.fn(help='"References to OnCallShift in oncall to populate shifts."', args=[d.arg(name='shiftsRef', type=d.T.array)]), + withShiftsRef(shiftsRef): { spec+: { initProvider+: { shiftsRef: if std.isArray(v=shiftsRef) then shiftsRef else [shiftsRef] } } }, + '#withShiftsRefMixin':: d.fn(help='"References to OnCallShift in oncall to populate shifts."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='shiftsRef', type=d.T.array)]), + withShiftsRefMixin(shiftsRef): { spec+: { initProvider+: { shiftsRef+: if std.isArray(v=shiftsRef) then shiftsRef else [shiftsRef] } } }, '#withSlack':: d.fn(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."', args=[d.arg(name='slack', type=d.T.array)]), withSlack(slack): { spec+: { initProvider+: { slack: if std.isArray(v=slack) then slack else [slack] } } }, '#withSlackMixin':: d.fn(help='"specific settings for a schedule. (see below for nested schema)\\nThe Slack-specific settings for a schedule."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='slack', type=d.T.array)]), @@ -112,7 +176,7 @@ withTeamId(teamId): { spec+: { initProvider+: { teamId: teamId } } }, '#withTimeZone':: d.fn(help="\"(String) The schedule's time zone.\\nThe schedule's time zone.\"", args=[d.arg(name='timeZone', type=d.T.string)]), withTimeZone(timeZone): { spec+: { initProvider+: { timeZone: timeZone } } }, - '#withType':: d.fn(help="\"(String) The schedule's type.\\nThe schedule's type.\"", args=[d.arg(name='type', type=d.T.string)]), + '#withType':: d.fn(help="\"(String) The schedule's type. Valid values are ical, calendar.\\nThe schedule's type. Valid values are `ical`, `calendar`.\"", args=[d.arg(name='type', type=d.T.string)]), withType(type): { spec+: { initProvider+: { type: type } } }, }, '#providerConfigRef':: d.obj(help='"ProviderConfigReference specifies how the provider that will be used to\\ncreate, observe, update, and delete this managed resource should be\\nconfigured."'), diff --git a/provider-grafana/0.15/_gen/cloud/v1alpha1/apiKey.libsonnet b/provider-grafana/0.18/_gen/oncall/v1alpha1/userNotificationRule.libsonnet similarity index 81% rename from provider-grafana/0.15/_gen/cloud/v1alpha1/apiKey.libsonnet rename to provider-grafana/0.18/_gen/oncall/v1alpha1/userNotificationRule.libsonnet index b2b1b5a359..d246a84f77 100644 --- a/provider-grafana/0.15/_gen/cloud/v1alpha1/apiKey.libsonnet +++ b/provider-grafana/0.18/_gen/oncall/v1alpha1/userNotificationRule.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='apiKey', url='', help='"APIKey is the Schema for the APIKeys API. This resource is deprecated and will be removed in a future release. Please use grafanacloudaccess_policy instead. Manages a single API key on the Grafana Cloud portal (on the organization level)"'), + '#':: d.pkg(name='userNotificationRule', url='', help='"UserNotificationRule is the Schema for the UserNotificationRules API. HTTP API https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/ Note: you must be running Grafana OnCall >= v1.8.0 to use this resource."'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -42,32 +42,40 @@ '#withUid':: d.fn(help='"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\\n\\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"', args=[d.arg(name='uid', type=d.T.string)]), withUid(uid): { metadata+: { uid: uid } }, }, - '#new':: d.fn(help='new returns an instance of APIKey', args=[d.arg(name='name', type=d.T.string)]), + '#new':: d.fn(help='new returns an instance of UserNotificationRule', args=[d.arg(name='name', type=d.T.string)]), new(name): { - apiVersion: 'cloud.grafana.crossplane.io/v1alpha1', - kind: 'APIKey', + apiVersion: 'oncall.grafana.crossplane.io/v1alpha1', + kind: 'UserNotificationRule', } + self.metadata.withName(name=name) + self.metadata.withAnnotations(annotations={ 'tanka.dev/namespaced': 'false', }), - '#spec':: d.obj(help='"APIKeySpec defines the desired state of APIKey"'), + '#spec':: d.obj(help='"UserNotificationRuleSpec defines the desired state of UserNotificationRule"'), spec: { '#forProvider':: d.obj(help=''), forProvider: { - '#withCloudOrgSlug':: d.fn(help='"(String) The slug of the organization to create the API key in. This is the same slug as the organization name in the URL.\\nThe slug of the organization to create the API key in. This is the same slug as the organization name in the URL."', args=[d.arg(name='cloudOrgSlug', type=d.T.string)]), - withCloudOrgSlug(cloudOrgSlug): { spec+: { forProvider+: { cloudOrgSlug: cloudOrgSlug } } }, - '#withName':: d.fn(help='"(String) Name of the API key.\\nName of the API key."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { forProvider+: { name: name } } }, - '#withRole':: d.fn(help='"cloud/api/#create-api-key for details.\\nRole of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See https://grafana.com/docs/grafana-cloud/api/#create-api-key for details."', args=[d.arg(name='role', type=d.T.string)]), - withRole(role): { spec+: { forProvider+: { role: role } } }, + '#withDuration':: d.fn(help='"(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600"', args=[d.arg(name='duration', type=d.T.number)]), + withDuration(duration): { spec+: { forProvider+: { duration: duration } } }, + '#withImportant':: d.fn(help='"(Boolean) Boolean value which indicates if a rule is “important”\\nBoolean value which indicates if a rule is “important”"', args=[d.arg(name='important', type=d.T.boolean)]), + withImportant(important): { spec+: { forProvider+: { important: important } } }, + '#withPosition':: d.fn(help='"(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list."', args=[d.arg(name='position', type=d.T.number)]), + withPosition(position): { spec+: { forProvider+: { position: position } } }, + '#withType':: d.fn(help='"(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers."', args=[d.arg(name='type', type=d.T.string)]), + withType(type): { spec+: { forProvider+: { type: type } } }, + '#withUserId':: d.fn(help='"(String) User ID\\nUser ID"', args=[d.arg(name='userId', type=d.T.string)]), + withUserId(userId): { spec+: { forProvider+: { userId: userId } } }, }, '#initProvider':: d.obj(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."'), initProvider: { - '#withCloudOrgSlug':: d.fn(help='"(String) The slug of the organization to create the API key in. This is the same slug as the organization name in the URL.\\nThe slug of the organization to create the API key in. This is the same slug as the organization name in the URL."', args=[d.arg(name='cloudOrgSlug', type=d.T.string)]), - withCloudOrgSlug(cloudOrgSlug): { spec+: { initProvider+: { cloudOrgSlug: cloudOrgSlug } } }, - '#withName':: d.fn(help='"(String) Name of the API key.\\nName of the API key."', args=[d.arg(name='name', type=d.T.string)]), - withName(name): { spec+: { initProvider+: { name: name } } }, - '#withRole':: d.fn(help='"cloud/api/#create-api-key for details.\\nRole of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See https://grafana.com/docs/grafana-cloud/api/#create-api-key for details."', args=[d.arg(name='role', type=d.T.string)]), - withRole(role): { spec+: { initProvider+: { role: role } } }, + '#withDuration':: d.fn(help='"(Number) A time in seconds to wait (when type=wait). Can be 60, 300, 900, 1800, 3600\\nA time in seconds to wait (when `type=wait`). Can be 60, 300, 900, 1800, 3600"', args=[d.arg(name='duration', type=d.T.number)]), + withDuration(duration): { spec+: { initProvider+: { duration: duration } } }, + '#withImportant':: d.fn(help='"(Boolean) Boolean value which indicates if a rule is “important”\\nBoolean value which indicates if a rule is “important”"', args=[d.arg(name='important', type=d.T.boolean)]), + withImportant(important): { spec+: { initProvider+: { important: important } } }, + '#withPosition':: d.fn(help='"(Number) Personal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list.\\nPersonal notification rules execute one after another starting from position=0. A new escalation policy created with a position of an existing escalation policy will move the old one (and all following) down on the list."', args=[d.arg(name='position', type=d.T.number)]), + withPosition(position): { spec+: { initProvider+: { position: position } } }, + '#withType':: d.fn(help='"(String) The type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: notify_by_msteams is only available for Grafana Cloud customers.\\nThe type of notification rule. Can be wait, notify_by_slack, notify_by_msteams, notify_by_sms, notify_by_phone_call, notify_by_telegram, notify_by_email, notify_by_mobile_app, notify_by_mobile_app_critical. NOTE: `notify_by_msteams` is only available for Grafana Cloud customers."', args=[d.arg(name='type', type=d.T.string)]), + withType(type): { spec+: { initProvider+: { type: type } } }, + '#withUserId':: d.fn(help='"(String) User ID\\nUser ID"', args=[d.arg(name='userId', type=d.T.string)]), + withUserId(userId): { spec+: { initProvider+: { userId: userId } } }, }, '#providerConfigRef':: d.obj(help='"ProviderConfigReference specifies how the provider that will be used to\\ncreate, observe, update, and delete this managed resource should be\\nconfigured."'), providerConfigRef: { diff --git a/provider-grafana/0.15/_gen/oss/main.libsonnet b/provider-grafana/0.18/_gen/oss/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/main.libsonnet rename to provider-grafana/0.18/_gen/oss/main.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/annotation.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/annotation.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/oss/v1alpha1/annotation.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/annotation.libsonnet index a026cf19ef..cfd91ee31a 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/annotation.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/annotation.libsonnet @@ -109,7 +109,7 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withDashboardUid':: d.fn(help='"(String) The ID of the dashboard on which to create the annotation.\\nThe ID of the dashboard on which to create the annotation."', args=[d.arg(name='dashboardUid', type=d.T.string)]), + '#withDashboardUid':: d.fn(help='"(String) The UID of the dashboard on which to create the annotation.\\nThe UID of the dashboard on which to create the annotation."', args=[d.arg(name='dashboardUid', type=d.T.string)]), withDashboardUid(dashboardUid): { spec+: { forProvider+: { dashboardUid: dashboardUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), withOrgId(orgId): { spec+: { forProvider+: { orgId: orgId } } }, @@ -184,7 +184,7 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withDashboardUid':: d.fn(help='"(String) The ID of the dashboard on which to create the annotation.\\nThe ID of the dashboard on which to create the annotation."', args=[d.arg(name='dashboardUid', type=d.T.string)]), + '#withDashboardUid':: d.fn(help='"(String) The UID of the dashboard on which to create the annotation.\\nThe UID of the dashboard on which to create the annotation."', args=[d.arg(name='dashboardUid', type=d.T.string)]), withDashboardUid(dashboardUid): { spec+: { initProvider+: { dashboardUid: dashboardUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), withOrgId(orgId): { spec+: { initProvider+: { orgId: orgId } } }, diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/dashboard.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/dashboard.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/dashboard.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/dashboard.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/dashboardPermission.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/dashboardPermission.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/oss/v1alpha1/dashboardPermission.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/dashboardPermission.libsonnet index 688ef08428..b5f2bb210f 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/dashboardPermission.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/dashboardPermission.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='dashboardPermission', url='', help="\"DashboardPermission is the Schema for the DashboardPermissions API. Manages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed.\""), + '#':: d.pkg(name='dashboardPermission', url='', help="\"DashboardPermission is the Schema for the DashboardPermissions API. Manages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/\""), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -169,7 +169,7 @@ }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withRole':: d.fn(help='"(String) Manage permissions for Viewer or Editor roles.\\nManage permissions for `Viewer` or `Editor` roles."', args=[d.arg(name='role', type=d.T.string)]), + '#withRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='role', type=d.T.string)]), withRole(role): { role: role }, '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, @@ -303,7 +303,7 @@ }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withRole':: d.fn(help='"(String) Manage permissions for Viewer or Editor roles.\\nManage permissions for `Viewer` or `Editor` roles."', args=[d.arg(name='role', type=d.T.string)]), + '#withRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='role', type=d.T.string)]), withRole(role): { role: role }, '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/dashboardPublic.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/dashboardPublic.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/dashboardPublic.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/dashboardPublic.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/dataSource.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/dataSource.libsonnet similarity index 95% rename from provider-grafana/0.15/_gen/oss/v1alpha1/dataSource.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/dataSource.libsonnet index a8d11861fe..6abe11ce91 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/dataSource.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/dataSource.libsonnet @@ -152,6 +152,15 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, + '#secureJsonDataEncodedSecretRef':: d.obj(help='"(String, Sensitive) Serialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\\nSerialized JSON string containing the secure json data. This attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased."'), + secureJsonDataEncodedSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { spec+: { initProvider+: { secureJsonDataEncodedSecretRef+: { key: key } } } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { secureJsonDataEncodedSecretRef+: { name: name } } } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { spec+: { initProvider+: { secureJsonDataEncodedSecretRef+: { namespace: namespace } } } }, + }, '#withAccessMode':: d.fn(help='"(String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy.\\nThe method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`."', args=[d.arg(name='accessMode', type=d.T.string)]), withAccessMode(accessMode): { spec+: { initProvider+: { accessMode: accessMode } } }, '#withBasicAuthEnabled':: d.fn(help='"(Boolean) Whether to enable basic auth for the data source. Defaults to false.\\nWhether to enable basic auth for the data source. Defaults to `false`."', args=[d.arg(name='basicAuthEnabled', type=d.T.boolean)]), @@ -160,6 +169,10 @@ withBasicAuthUsername(basicAuthUsername): { spec+: { initProvider+: { basicAuthUsername: basicAuthUsername } } }, '#withDatabaseName':: d.fn(help='"(String) The name of the database to use on the selected data source server. Defaults to “.\\n(Required by some data source types) The name of the database to use on the selected data source server. Defaults to “."', args=[d.arg(name='databaseName', type=d.T.string)]), withDatabaseName(databaseName): { spec+: { initProvider+: { databaseName: databaseName } } }, + '#withHttpHeadersSecretRef':: d.fn(help='', args=[d.arg(name='httpHeadersSecretRef', type=d.T.object)]), + withHttpHeadersSecretRef(httpHeadersSecretRef): { spec+: { initProvider+: { httpHeadersSecretRef: httpHeadersSecretRef } } }, + '#withHttpHeadersSecretRefMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='httpHeadersSecretRef', type=d.T.object)]), + withHttpHeadersSecretRefMixin(httpHeadersSecretRef): { spec+: { initProvider+: { httpHeadersSecretRef+: httpHeadersSecretRef } } }, '#withIsDefault':: d.fn(help='"(Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false.\\nWhether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`."', args=[d.arg(name='isDefault', type=d.T.boolean)]), withIsDefault(isDefault): { spec+: { initProvider+: { isDefault: isDefault } } }, '#withJsonDataEncoded':: d.fn(help='"(String) Serialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased.\\nSerialized JSON string containing the json data. This attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI. Note that keys in this map are usually camelCased."', args=[d.arg(name='jsonDataEncoded', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/folder.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/folder.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/oss/v1alpha1/folder.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/folder.libsonnet index 346e20c5db..3a07721c72 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/folder.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/folder.libsonnet @@ -113,7 +113,7 @@ withOrgId(orgId): { spec+: { forProvider+: { orgId: orgId } } }, '#withParentFolderUid':: d.fn(help='"(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance."', args=[d.arg(name='parentFolderUid', type=d.T.string)]), withParentFolderUid(parentFolderUid): { spec+: { forProvider+: { parentFolderUid: parentFolderUid } } }, - '#withPreventDestroyIfNotEmpty':: d.fn(help='"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false.\\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`."', args=[d.arg(name='preventDestroyIfNotEmpty', type=d.T.boolean)]), + '#withPreventDestroyIfNotEmpty':: d.fn(help='"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`."', args=[d.arg(name='preventDestroyIfNotEmpty', type=d.T.boolean)]), withPreventDestroyIfNotEmpty(preventDestroyIfNotEmpty): { spec+: { forProvider+: { preventDestroyIfNotEmpty: preventDestroyIfNotEmpty } } }, '#withTitle':: d.fn(help='"(String) The title of the folder.\\nThe title of the folder."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { spec+: { forProvider+: { title: title } } }, @@ -182,7 +182,7 @@ withOrgId(orgId): { spec+: { initProvider+: { orgId: orgId } } }, '#withParentFolderUid':: d.fn(help='"(String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance.\\nThe uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance."', args=[d.arg(name='parentFolderUid', type=d.T.string)]), withParentFolderUid(parentFolderUid): { spec+: { initProvider+: { parentFolderUid: parentFolderUid } } }, - '#withPreventDestroyIfNotEmpty':: d.fn(help='"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false.\\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`."', args=[d.arg(name='preventDestroyIfNotEmpty', type=d.T.boolean)]), + '#withPreventDestroyIfNotEmpty':: d.fn(help='"(Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to false.\\nPrevent deletion of the folder if it is not empty (contains dashboards or alert rules). This feature requires Grafana 10.2 or later. Defaults to `false`."', args=[d.arg(name='preventDestroyIfNotEmpty', type=d.T.boolean)]), withPreventDestroyIfNotEmpty(preventDestroyIfNotEmpty): { spec+: { initProvider+: { preventDestroyIfNotEmpty: preventDestroyIfNotEmpty } } }, '#withTitle':: d.fn(help='"(String) The title of the folder.\\nThe title of the folder."', args=[d.arg(name='title', type=d.T.string)]), withTitle(title): { spec+: { initProvider+: { title: title } } }, diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/folderPermission.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/folderPermission.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/oss/v1alpha1/folderPermission.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/folderPermission.libsonnet index e9a88b0a8b..284a491258 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/folderPermission.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/folderPermission.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='folderPermission', url='', help="\"FolderPermission is the Schema for the FolderPermissions API. Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed.\""), + '#':: d.pkg(name='folderPermission', url='', help="\"FolderPermission is the Schema for the FolderPermissions API. Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/\""), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -169,7 +169,7 @@ }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withRole':: d.fn(help='"(String) Manage permissions for Viewer or Editor roles.\\nManage permissions for `Viewer` or `Editor` roles."', args=[d.arg(name='role', type=d.T.string)]), + '#withRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='role', type=d.T.string)]), withRole(role): { role: role }, '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, @@ -303,7 +303,7 @@ }, '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withRole':: d.fn(help='"(String) Manage permissions for Viewer or Editor roles.\\nManage permissions for `Viewer` or `Editor` roles."', args=[d.arg(name='role', type=d.T.string)]), + '#withRole':: d.fn(help='"(String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin.\\nName of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`."', args=[d.arg(name='role', type=d.T.string)]), withRole(role): { role: role }, '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/libraryPanel.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/libraryPanel.libsonnet similarity index 98% rename from provider-grafana/0.15/_gen/oss/v1alpha1/libraryPanel.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/libraryPanel.libsonnet index 74ca16f7e7..898773b6b7 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/libraryPanel.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/libraryPanel.libsonnet @@ -53,7 +53,7 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { - '#folderRef':: d.obj(help='"Reference to a Folder in oss to populate folderId."'), + '#folderRef':: d.obj(help='"Reference to a Folder in oss to populate folderUid."'), folderRef: { '#policy':: d.obj(help='"Policies for referencing."'), policy: { @@ -65,7 +65,7 @@ '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), withName(name): { spec+: { forProvider+: { folderRef+: { name: name } } } }, }, - '#folderSelector':: d.obj(help='"Selector for a Folder in oss to populate folderId."'), + '#folderSelector':: d.obj(help='"Selector for a Folder in oss to populate folderUid."'), folderSelector: { '#policy':: d.obj(help='"Policies for selection."'), policy: { @@ -109,8 +109,6 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withFolderId':: d.fn(help='"(String, Deprecated) Deprecated. Use folder_uid instead\\nDeprecated. Use `folder_uid` instead"', args=[d.arg(name='folderId', type=d.T.string)]), - withFolderId(folderId): { spec+: { forProvider+: { folderId: folderId } } }, '#withFolderUid':: d.fn(help='"(String) Unique ID (UID) of the folder containing the library panel.\\nUnique ID (UID) of the folder containing the library panel."', args=[d.arg(name='folderUid', type=d.T.string)]), withFolderUid(folderUid): { spec+: { forProvider+: { folderUid: folderUid } } }, '#withModelJson':: d.fn(help='"(String) The JSON model for the library panel.\\nThe JSON model for the library panel."', args=[d.arg(name='modelJson', type=d.T.string)]), @@ -124,7 +122,7 @@ }, '#initProvider':: d.obj(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."'), initProvider: { - '#folderRef':: d.obj(help='"Reference to a Folder in oss to populate folderId."'), + '#folderRef':: d.obj(help='"Reference to a Folder in oss to populate folderUid."'), folderRef: { '#policy':: d.obj(help='"Policies for referencing."'), policy: { @@ -136,7 +134,7 @@ '#withName':: d.fn(help='"Name of the referenced object."', args=[d.arg(name='name', type=d.T.string)]), withName(name): { spec+: { initProvider+: { folderRef+: { name: name } } } }, }, - '#folderSelector':: d.obj(help='"Selector for a Folder in oss to populate folderId."'), + '#folderSelector':: d.obj(help='"Selector for a Folder in oss to populate folderUid."'), folderSelector: { '#policy':: d.obj(help='"Policies for selection."'), policy: { @@ -180,8 +178,6 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withFolderId':: d.fn(help='"(String, Deprecated) Deprecated. Use folder_uid instead\\nDeprecated. Use `folder_uid` instead"', args=[d.arg(name='folderId', type=d.T.string)]), - withFolderId(folderId): { spec+: { initProvider+: { folderId: folderId } } }, '#withFolderUid':: d.fn(help='"(String) Unique ID (UID) of the folder containing the library panel.\\nUnique ID (UID) of the folder containing the library panel."', args=[d.arg(name='folderUid', type=d.T.string)]), withFolderUid(folderUid): { spec+: { initProvider+: { folderUid: folderUid } } }, '#withModelJson':: d.fn(help='"(String) The JSON model for the library panel.\\nThe JSON model for the library panel."', args=[d.arg(name='modelJson', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/main.libsonnet similarity index 96% rename from provider-grafana/0.15/_gen/oss/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/main.libsonnet index 483cd96344..80e239a853 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/main.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/main.libsonnet @@ -2,7 +2,6 @@ local d = (import 'doc-util/main.libsonnet'), '#':: d.pkg(name='v1alpha1', url='', help=''), annotation: (import 'annotation.libsonnet'), - apiKey: (import 'apiKey.libsonnet'), dashboard: (import 'dashboard.libsonnet'), dashboardPermission: (import 'dashboardPermission.libsonnet'), dashboardPublic: (import 'dashboardPublic.libsonnet'), diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/organization.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/organization.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/organization.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/organization.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/organizationPreferences.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/organizationPreferences.libsonnet similarity index 97% rename from provider-grafana/0.15/_gen/oss/v1alpha1/organizationPreferences.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/organizationPreferences.libsonnet index 24d345eb0d..eb39d47c64 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/organizationPreferences.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/organizationPreferences.libsonnet @@ -81,8 +81,6 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { forProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withHomeDashboardId':: d.fn(help='"(Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead.\\nThe Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead."', args=[d.arg(name='homeDashboardId', type=d.T.number)]), - withHomeDashboardId(homeDashboardId): { spec+: { forProvider+: { homeDashboardId: homeDashboardId } } }, '#withHomeDashboardUid':: d.fn(help='"(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\\nThe Organization home dashboard UID. This is only available in Grafana 9.0+."', args=[d.arg(name='homeDashboardUid', type=d.T.string)]), withHomeDashboardUid(homeDashboardUid): { spec+: { forProvider+: { homeDashboardUid: homeDashboardUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), @@ -124,8 +122,6 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { organizationSelector+: { matchLabels+: matchLabels } } } }, }, - '#withHomeDashboardId':: d.fn(help='"(Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead.\\nThe Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead."', args=[d.arg(name='homeDashboardId', type=d.T.number)]), - withHomeDashboardId(homeDashboardId): { spec+: { initProvider+: { homeDashboardId: homeDashboardId } } }, '#withHomeDashboardUid':: d.fn(help='"(String) The Organization home dashboard UID. This is only available in Grafana 9.0+.\\nThe Organization home dashboard UID. This is only available in Grafana 9.0+."', args=[d.arg(name='homeDashboardUid', type=d.T.string)]), withHomeDashboardUid(homeDashboardUid): { spec+: { initProvider+: { homeDashboardUid: homeDashboardUid } } }, '#withOrgId':: d.fn(help='"(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.\\nThe Organization ID. If not set, the Org ID defined in the provider block will be used."', args=[d.arg(name='orgId', type=d.T.string)]), diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/playlist.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/playlist.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/playlist.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/playlist.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccount.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccount.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccount.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccount.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet similarity index 97% rename from provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet index f0cc5cbd42..0b4bd64795 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccountPermission.libsonnet @@ -139,11 +139,11 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { userSelector+: { matchLabels+: matchLabels } }, }, - '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be Edit or Admin.\\nPermission to associate with item. Must be `Edit` or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), + '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0.\\nID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), + '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, - '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0.\\nID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), + '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Defaults to 0.\\nID of the user or service account to manage permissions for. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), withUserId(userId): { userId: userId }, }, '#serviceAccountRef':: d.obj(help='"Reference to a ServiceAccount in oss to populate serviceAccountId."'), @@ -271,11 +271,11 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { userSelector+: { matchLabels+: matchLabels } }, }, - '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be Edit or Admin.\\nPermission to associate with item. Must be `Edit` or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), + '#withPermission':: d.fn(help='"(String) Permission to associate with item. Must be one of View, Edit, or Admin.\\nPermission to associate with item. Must be one of `View`, `Edit`, or `Admin`."', args=[d.arg(name='permission', type=d.T.string)]), withPermission(permission): { permission: permission }, - '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0.\\nID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), + '#withTeamId':: d.fn(help='"(String) ID of the team to manage permissions for. Defaults to 0.\\nID of the team to manage permissions for. Defaults to `0`."', args=[d.arg(name='teamId', type=d.T.string)]), withTeamId(teamId): { teamId: teamId }, - '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0.\\nID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), + '#withUserId':: d.fn(help='"(String) ID of the user or service account to manage permissions for. Defaults to 0.\\nID of the user or service account to manage permissions for. Defaults to `0`."', args=[d.arg(name='userId', type=d.T.string)]), withUserId(userId): { userId: userId }, }, '#serviceAccountRef':: d.obj(help='"Reference to a ServiceAccount in oss to populate serviceAccountId."'), diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccountToken.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccountToken.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/serviceAccountToken.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/serviceAccountToken.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/ssoSettings.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/ssoSettings.libsonnet similarity index 94% rename from provider-grafana/0.15/_gen/oss/v1alpha1/ssoSettings.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/ssoSettings.libsonnet index fafccd0fab..39c3295a1e 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/ssoSettings.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/ssoSettings.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='ssoSettings', url='', help='"SsoSettings is the Schema for the SsoSettingss API. Manages Grafana SSO Settings for OAuth2 and SAML. Official documentation https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/"'), + '#':: d.pkg(name='ssoSettings', url='', help='"SsoSettings is the Schema for the SsoSettingss API. Manages Grafana SSO Settings for OAuth2 and SAML. Support for SAML is currently in preview, it will be available in Grafana Enterprise starting with v11.1. Official documentation https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/"'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -74,7 +74,7 @@ withAllowedGroups(allowedGroups): { allowedGroups: allowedGroups }, '#withAllowedOrganizations':: d.fn(help='"or space-separated organizations. The user should be a member of at least one organization to log in.\\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in."', args=[d.arg(name='allowedOrganizations', type=d.T.string)]), withAllowedOrganizations(allowedOrganizations): { allowedOrganizations: allowedOrganizations }, - '#withApiUrl':: d.fn(help='"(String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\\nThe user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers."', args=[d.arg(name='apiUrl', type=d.T.string)]), + '#withApiUrl':: d.fn(help='"(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers."', args=[d.arg(name='apiUrl', type=d.T.string)]), withApiUrl(apiUrl): { apiUrl: apiUrl }, '#withAuthStyle':: d.fn(help='"(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect."', args=[d.arg(name='authStyle', type=d.T.string)]), withAuthStyle(authStyle): { authStyle: authStyle }, @@ -213,10 +213,14 @@ withRoleValuesGrafanaAdmin(roleValuesGrafanaAdmin): { roleValuesGrafanaAdmin: roleValuesGrafanaAdmin }, '#withRoleValuesNone':: d.fn(help='"or space-separated roles which will be mapped into the None role.\\nList of comma- or space-separated roles which will be mapped into the None role."', args=[d.arg(name='roleValuesNone', type=d.T.string)]), withRoleValuesNone(roleValuesNone): { roleValuesNone: roleValuesNone }, + '#withRoleValuesViewer':: d.fn(help='"or space-separated roles which will be mapped into the Viewer role.\\nList of comma- or space-separated roles which will be mapped into the Viewer role."', args=[d.arg(name='roleValuesViewer', type=d.T.string)]), + withRoleValuesViewer(roleValuesViewer): { roleValuesViewer: roleValuesViewer }, '#withSignatureAlgorithm':: d.fn(help='"sha1, rsa-sha256, rsa-sha512.\\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512."', args=[d.arg(name='signatureAlgorithm', type=d.T.string)]), withSignatureAlgorithm(signatureAlgorithm): { signatureAlgorithm: signatureAlgorithm }, '#withSingleLogout':: d.fn(help='"(Boolean) Whether SAML Single Logout is enabled.\\nWhether SAML Single Logout is enabled."', args=[d.arg(name='singleLogout', type=d.T.boolean)]), withSingleLogout(singleLogout): { singleLogout: singleLogout }, + '#withSkipOrgRoleSync':: d.fn(help='"(Boolean) Prevent synchronizing users’ organization roles from your IdP.\\nPrevent synchronizing users’ organization roles from your IdP."', args=[d.arg(name='skipOrgRoleSync', type=d.T.boolean)]), + withSkipOrgRoleSync(skipOrgRoleSync): { skipOrgRoleSync: skipOrgRoleSync }, }, '#withOauth2Settings':: d.fn(help='"(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers."', args=[d.arg(name='oauth2Settings', type=d.T.array)]), withOauth2Settings(oauth2Settings): { spec+: { forProvider+: { oauth2Settings: if std.isArray(v=oauth2Settings) then oauth2Settings else [oauth2Settings] } } }, @@ -233,6 +237,15 @@ initProvider: { '#oauth2Settings':: d.obj(help='"(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers."'), oauth2Settings: { + '#clientSecretSecretRef':: d.obj(help='"(String, Sensitive) The client secret of your OAuth2 app.\\nThe client secret of your OAuth2 app."'), + clientSecretSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { clientSecretSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { clientSecretSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { clientSecretSecretRef+: { namespace: namespace } }, + }, '#withAllowAssignGrafanaAdmin':: d.fn(help='"(Boolean) If enabled, it will automatically sync the Grafana server administrator role.\\nIf enabled, it will automatically sync the Grafana server administrator role."', args=[d.arg(name='allowAssignGrafanaAdmin', type=d.T.boolean)]), withAllowAssignGrafanaAdmin(allowAssignGrafanaAdmin): { allowAssignGrafanaAdmin: allowAssignGrafanaAdmin }, '#withAllowSignUp':: d.fn(help='"(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\\nIf not enabled, only existing Grafana users can log in using OAuth."', args=[d.arg(name='allowSignUp', type=d.T.boolean)]), @@ -243,7 +256,7 @@ withAllowedGroups(allowedGroups): { allowedGroups: allowedGroups }, '#withAllowedOrganizations':: d.fn(help='"or space-separated organizations. The user should be a member of at least one organization to log in.\\nList of comma- or space-separated organizations. The user should be a member of at least one organization to log in."', args=[d.arg(name='allowedOrganizations', type=d.T.string)]), withAllowedOrganizations(allowedOrganizations): { allowedOrganizations: allowedOrganizations }, - '#withApiUrl':: d.fn(help='"(String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers.\\nThe user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers."', args=[d.arg(name='apiUrl', type=d.T.string)]), + '#withApiUrl':: d.fn(help='"(String) The user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers.\\nThe user information endpoint of your OAuth2 provider. Required for okta and generic_oauth providers."', args=[d.arg(name='apiUrl', type=d.T.string)]), withApiUrl(apiUrl): { apiUrl: apiUrl }, '#withAuthStyle':: d.fn(help='"(String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.\\nIt determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect."', args=[d.arg(name='authStyle', type=d.T.string)]), withAuthStyle(authStyle): { authStyle: authStyle }, @@ -312,6 +325,24 @@ }, '#samlSettings':: d.obj(help='"(Block Set, Max: 1) The SAML settings set. Required for the saml provider. (see below for nested schema)\\nThe SAML settings set. Required for the saml provider."'), samlSettings: { + '#certificateSecretRef':: d.obj(help='"encoded string for the SP X.509 certificate.\\nBase64-encoded string for the SP X.509 certificate."'), + certificateSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { certificateSecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { certificateSecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { certificateSecretRef+: { namespace: namespace } }, + }, + '#privateKeySecretRef':: d.obj(help='"encoded string for the SP private key.\\nBase64-encoded string for the SP private key."'), + privateKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { privateKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { privateKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { privateKeySecretRef+: { namespace: namespace } }, + }, '#withAllowIdpInitiated':: d.fn(help='"initiated login is allowed.\\nWhether SAML IdP-initiated login is allowed."', args=[d.arg(name='allowIdpInitiated', type=d.T.boolean)]), withAllowIdpInitiated(allowIdpInitiated): { allowIdpInitiated: allowIdpInitiated }, '#withAllowSignUp':: d.fn(help='"(Boolean) If not enabled, only existing Grafana users can log in using OAuth.\\nWhether to allow new Grafana user creation through SAML login. If set to false, then only existing Grafana users can log in with SAML."', args=[d.arg(name='allowSignUp', type=d.T.boolean)]), @@ -364,10 +395,14 @@ withRoleValuesGrafanaAdmin(roleValuesGrafanaAdmin): { roleValuesGrafanaAdmin: roleValuesGrafanaAdmin }, '#withRoleValuesNone':: d.fn(help='"or space-separated roles which will be mapped into the None role.\\nList of comma- or space-separated roles which will be mapped into the None role."', args=[d.arg(name='roleValuesNone', type=d.T.string)]), withRoleValuesNone(roleValuesNone): { roleValuesNone: roleValuesNone }, + '#withRoleValuesViewer':: d.fn(help='"or space-separated roles which will be mapped into the Viewer role.\\nList of comma- or space-separated roles which will be mapped into the Viewer role."', args=[d.arg(name='roleValuesViewer', type=d.T.string)]), + withRoleValuesViewer(roleValuesViewer): { roleValuesViewer: roleValuesViewer }, '#withSignatureAlgorithm':: d.fn(help='"sha1, rsa-sha256, rsa-sha512.\\nSignature algorithm used for signing requests to the IdP. Supported values are rsa-sha1, rsa-sha256, rsa-sha512."', args=[d.arg(name='signatureAlgorithm', type=d.T.string)]), withSignatureAlgorithm(signatureAlgorithm): { signatureAlgorithm: signatureAlgorithm }, '#withSingleLogout':: d.fn(help='"(Boolean) Whether SAML Single Logout is enabled.\\nWhether SAML Single Logout is enabled."', args=[d.arg(name='singleLogout', type=d.T.boolean)]), withSingleLogout(singleLogout): { singleLogout: singleLogout }, + '#withSkipOrgRoleSync':: d.fn(help='"(Boolean) Prevent synchronizing users’ organization roles from your IdP.\\nPrevent synchronizing users’ organization roles from your IdP."', args=[d.arg(name='skipOrgRoleSync', type=d.T.boolean)]), + withSkipOrgRoleSync(skipOrgRoleSync): { skipOrgRoleSync: skipOrgRoleSync }, }, '#withOauth2Settings':: d.fn(help='"(Block Set, Max: 1) The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers. (see below for nested schema)\\nThe OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic_oauth providers."', args=[d.arg(name='oauth2Settings', type=d.T.array)]), withOauth2Settings(oauth2Settings): { spec+: { initProvider+: { oauth2Settings: if std.isArray(v=oauth2Settings) then oauth2Settings else [oauth2Settings] } } }, diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/team.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/team.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/oss/v1alpha1/team.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/team.libsonnet diff --git a/provider-grafana/0.15/_gen/oss/v1alpha1/user.libsonnet b/provider-grafana/0.18/_gen/oss/v1alpha1/user.libsonnet similarity index 96% rename from provider-grafana/0.15/_gen/oss/v1alpha1/user.libsonnet rename to provider-grafana/0.18/_gen/oss/v1alpha1/user.libsonnet index b82e03fbc9..1310e6f650 100644 --- a/provider-grafana/0.15/_gen/oss/v1alpha1/user.libsonnet +++ b/provider-grafana/0.18/_gen/oss/v1alpha1/user.libsonnet @@ -73,6 +73,15 @@ }, '#initProvider':: d.obj(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."'), initProvider: { + '#passwordSecretRef':: d.obj(help='"(String, Sensitive) The password for the Grafana user.\\nThe password for the Grafana user."'), + passwordSecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { spec+: { initProvider+: { passwordSecretRef+: { key: key } } } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { passwordSecretRef+: { name: name } } } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { spec+: { initProvider+: { passwordSecretRef+: { namespace: namespace } } } }, + }, '#withEmail':: d.fn(help='"(String) The email address of the Grafana user.\\nThe email address of the Grafana user."', args=[d.arg(name='email', type=d.T.string)]), withEmail(email): { spec+: { initProvider+: { email: email } } }, '#withIsAdmin':: d.fn(help='"(Boolean) Whether to make user an admin. Defaults to false.\\nWhether to make user an admin. Defaults to `false`."', args=[d.arg(name='isAdmin', type=d.T.boolean)]), diff --git a/provider-grafana/0.15/_gen/slo/main.libsonnet b/provider-grafana/0.18/_gen/slo/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/slo/main.libsonnet rename to provider-grafana/0.18/_gen/slo/main.libsonnet diff --git a/provider-grafana/0.15/_gen/slo/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/slo/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/slo/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/slo/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/slo/v1alpha1/slo.libsonnet b/provider-grafana/0.18/_gen/slo/v1alpha1/slo.libsonnet similarity index 96% rename from provider-grafana/0.15/_gen/slo/v1alpha1/slo.libsonnet rename to provider-grafana/0.18/_gen/slo/v1alpha1/slo.libsonnet index 5dbb11db05..9df4d0e481 100644 --- a/provider-grafana/0.15/_gen/slo/v1alpha1/slo.libsonnet +++ b/provider-grafana/0.18/_gen/slo/v1alpha1/slo.libsonnet @@ -55,6 +55,11 @@ forProvider: { '#alerting':: d.obj(help='"term error budget burn is very high, the\\nlong-term error budget burn rate is high, or when the remaining\\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\\nConfigures the alerting rules that will be generated for each\\ntime window associated with the SLO. Grafana SLOs can generate\\nalerts when the short-term error budget burn is very high, the\\nlong-term error budget burn rate is high, or when the remaining\\nerror budget is below a certain threshold. Annotations and Labels support templating."'), alerting: { + '#advancedOptions':: d.obj(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"'), + advancedOptions: { + '#withMinFailures':: d.fn(help='"(Number) Minimum number of failed events to trigger an alert\\nMinimum number of failed events to trigger an alert"', args=[d.arg(name='minFailures', type=d.T.number)]), + withMinFailures(minFailures): { minFailures: minFailures }, + }, '#annotation':: d.obj(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."'), annotation: { '#withKey':: d.fn(help='"(String)"', args=[d.arg(name='key', type=d.T.string)]), @@ -119,6 +124,10 @@ '#withLabelMixin':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nLabels to attach only to Slow Burn alerts."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='label', type=d.T.array)]), withLabelMixin(label): { label+: if std.isArray(v=label) then label else [label] }, }, + '#withAdvancedOptions':: d.fn(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"', args=[d.arg(name='advancedOptions', type=d.T.array)]), + withAdvancedOptions(advancedOptions): { advancedOptions: if std.isArray(v=advancedOptions) then advancedOptions else [advancedOptions] }, + '#withAdvancedOptionsMixin':: d.fn(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='advancedOptions', type=d.T.array)]), + withAdvancedOptionsMixin(advancedOptions): { advancedOptions+: if std.isArray(v=advancedOptions) then advancedOptions else [advancedOptions] }, '#withAnnotation':: d.fn(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."', args=[d.arg(name='annotation', type=d.T.array)]), withAnnotation(annotation): { annotation: if std.isArray(v=annotation) then annotation else [annotation] }, '#withAnnotationMixin':: d.fn(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='annotation', type=d.T.array)]), @@ -222,6 +231,8 @@ withDestinationDatasource(destinationDatasource): { spec+: { forProvider+: { destinationDatasource: if std.isArray(v=destinationDatasource) then destinationDatasource else [destinationDatasource] } } }, '#withDestinationDatasourceMixin':: d.fn(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"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='destinationDatasource', type=d.T.array)]), withDestinationDatasourceMixin(destinationDatasource): { spec+: { forProvider+: { destinationDatasource+: if std.isArray(v=destinationDatasource) then destinationDatasource else [destinationDatasource] } } }, + '#withFolderUid':: d.fn(help='"(String) UID for the SLO folder\\nUID for the SLO folder"', args=[d.arg(name='folderUid', type=d.T.string)]), + withFolderUid(folderUid): { spec+: { forProvider+: { folderUid: folderUid } } }, '#withLabel':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \\"^[a-zA-Z_][a-zA-Z0-9_]*$\\', args=[d.arg(name='label', type=d.T.array)]), withLabel(label): { spec+: { forProvider+: { label: if std.isArray(v=label) then label else [label] } } }, '#withLabelMixin':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \\"^[a-zA-Z_][a-zA-Z0-9_]*$\\\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='label', type=d.T.array)]), @@ -241,6 +252,11 @@ initProvider: { '#alerting':: d.obj(help='"term error budget burn is very high, the\\nlong-term error budget burn rate is high, or when the remaining\\nerror budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema)\\nConfigures the alerting rules that will be generated for each\\ntime window associated with the SLO. Grafana SLOs can generate\\nalerts when the short-term error budget burn is very high, the\\nlong-term error budget burn rate is high, or when the remaining\\nerror budget is below a certain threshold. Annotations and Labels support templating."'), alerting: { + '#advancedOptions':: d.obj(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"'), + advancedOptions: { + '#withMinFailures':: d.fn(help='"(Number) Minimum number of failed events to trigger an alert\\nMinimum number of failed events to trigger an alert"', args=[d.arg(name='minFailures', type=d.T.number)]), + withMinFailures(minFailures): { minFailures: minFailures }, + }, '#annotation':: d.obj(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."'), annotation: { '#withKey':: d.fn(help='"(String)"', args=[d.arg(name='key', type=d.T.string)]), @@ -305,6 +321,10 @@ '#withLabelMixin':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nLabels to attach only to Slow Burn alerts."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='label', type=d.T.array)]), withLabelMixin(label): { label+: if std.isArray(v=label) then label else [label] }, }, + '#withAdvancedOptions':: d.fn(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"', args=[d.arg(name='advancedOptions', type=d.T.array)]), + withAdvancedOptions(advancedOptions): { advancedOptions: if std.isArray(v=advancedOptions) then advancedOptions else [advancedOptions] }, + '#withAdvancedOptionsMixin':: d.fn(help='"(Block List, Max: 1) Advanced Options for Alert Rules (see below for nested schema)\\nAdvanced Options for Alert Rules"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='advancedOptions', type=d.T.array)]), + withAdvancedOptionsMixin(advancedOptions): { advancedOptions+: if std.isArray(v=advancedOptions) then advancedOptions else [advancedOptions] }, '#withAnnotation':: d.fn(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."', args=[d.arg(name='annotation', type=d.T.array)]), withAnnotation(annotation): { annotation: if std.isArray(v=annotation) then annotation else [annotation] }, '#withAnnotationMixin':: d.fn(help='"(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema)\\nAnnotations will be attached to all alerts generated by any of these rules."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='annotation', type=d.T.array)]), @@ -408,6 +428,8 @@ withDestinationDatasource(destinationDatasource): { spec+: { initProvider+: { destinationDatasource: if std.isArray(v=destinationDatasource) then destinationDatasource else [destinationDatasource] } } }, '#withDestinationDatasourceMixin':: d.fn(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"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='destinationDatasource', type=d.T.array)]), withDestinationDatasourceMixin(destinationDatasource): { spec+: { initProvider+: { destinationDatasource+: if std.isArray(v=destinationDatasource) then destinationDatasource else [destinationDatasource] } } }, + '#withFolderUid':: d.fn(help='"(String) UID for the SLO folder\\nUID for the SLO folder"', args=[d.arg(name='folderUid', type=d.T.string)]), + withFolderUid(folderUid): { spec+: { initProvider+: { folderUid: folderUid } } }, '#withLabel':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \\"^[a-zA-Z_][a-zA-Z0-9_]*$\\', args=[d.arg(name='label', type=d.T.array)]), withLabel(label): { spec+: { initProvider+: { label: if std.isArray(v=label) then label else [label] } } }, '#withLabelMixin':: d.fn(help='"\\"^[a-zA-Z_][a-zA-Z0-9_]*$\\" (see below for nested schema)\\nAdditional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - \\"^[a-zA-Z_][a-zA-Z0-9_]*$\\\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='label', type=d.T.array)]), diff --git a/provider-grafana/0.15/_gen/sm/main.libsonnet b/provider-grafana/0.18/_gen/sm/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/sm/main.libsonnet rename to provider-grafana/0.18/_gen/sm/main.libsonnet diff --git a/provider-grafana/0.15/_gen/sm/v1alpha1/check.libsonnet b/provider-grafana/0.18/_gen/sm/v1alpha1/check.libsonnet similarity index 89% rename from provider-grafana/0.15/_gen/sm/v1alpha1/check.libsonnet rename to provider-grafana/0.18/_gen/sm/v1alpha1/check.libsonnet index 7957cd110d..d2d314526a 100644 --- a/provider-grafana/0.15/_gen/sm/v1alpha1/check.libsonnet +++ b/provider-grafana/0.18/_gen/sm/v1alpha1/check.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='check', url='', help='"Check is the Schema for the Checks API. Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/create-checks/checks/"'), + '#':: d.pkg(name='check', url='', help='"Check is the Schema for the Checks API. Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/"'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -119,6 +119,39 @@ '#withValidateAuthorityRrsMixin':: d.fn(help='"(Block Set, Max: 1) Validate response authority. (see below for nested schema)\\nValidate response authority."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='validateAuthorityRrs', type=d.T.array)]), withValidateAuthorityRrsMixin(validateAuthorityRrs): { validateAuthorityRrs+: if std.isArray(v=validateAuthorityRrs) then validateAuthorityRrs else [validateAuthorityRrs] }, }, + '#grpc':: d.obj(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."'), + grpc: { + '#tlsConfig':: d.obj(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."'), + tlsConfig: { + '#clientKeySecretRef':: d.obj(help='"(String, Sensitive) Client key in PEM format.\\nClient key in PEM format."'), + clientKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { clientKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { clientKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { clientKeySecretRef+: { namespace: namespace } }, + }, + '#withCaCert':: d.fn(help='"(String) CA certificate in PEM format.\\nCA certificate in PEM format."', args=[d.arg(name='caCert', type=d.T.string)]), + withCaCert(caCert): { caCert: caCert }, + '#withClientCert':: d.fn(help='"(String) Client certificate in PEM format.\\nClient certificate in PEM format."', args=[d.arg(name='clientCert', type=d.T.string)]), + withClientCert(clientCert): { clientCert: clientCert }, + '#withInsecureSkipVerify':: d.fn(help='"(Boolean) Disable target certificate validation. Defaults to false.\\nDisable target certificate validation. Defaults to `false`."', args=[d.arg(name='insecureSkipVerify', type=d.T.boolean)]), + withInsecureSkipVerify(insecureSkipVerify): { insecureSkipVerify: insecureSkipVerify }, + '#withServerName':: d.fn(help='"(String) Used to verify the hostname for the targets.\\nUsed to verify the hostname for the targets."', args=[d.arg(name='serverName', type=d.T.string)]), + withServerName(serverName): { serverName: serverName }, + }, + '#withIpVersion':: d.fn(help="\"(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.\"", args=[d.arg(name='ipVersion', type=d.T.string)]), + withIpVersion(ipVersion): { ipVersion: ipVersion }, + '#withService':: d.fn(help='"(String) gRPC service.\\ngRPC service."', args=[d.arg(name='service', type=d.T.string)]), + withService(service): { service: service }, + '#withTls':: d.fn(help='"(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\\nWhether or not TLS is used when the connection is initiated. Defaults to `false`."', args=[d.arg(name='tls', type=d.T.boolean)]), + withTls(tls): { tls: tls }, + '#withTlsConfig':: d.fn(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."', args=[d.arg(name='tlsConfig', type=d.T.array)]), + withTlsConfig(tlsConfig): { tlsConfig: if std.isArray(v=tlsConfig) then tlsConfig else [tlsConfig] }, + '#withTlsConfigMixin':: d.fn(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='tlsConfig', type=d.T.array)]), + withTlsConfigMixin(tlsConfig): { tlsConfig+: if std.isArray(v=tlsConfig) then tlsConfig else [tlsConfig] }, + }, '#http':: d.obj(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."'), http: { '#basicAuth':: d.obj(help='"(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\\nBasic auth settings."'), @@ -324,6 +357,11 @@ '#withSourceIpAddress':: d.fn(help='"(String) Source IP address.\\nSource IP address."', args=[d.arg(name='sourceIpAddress', type=d.T.string)]), withSourceIpAddress(sourceIpAddress): { sourceIpAddress: sourceIpAddress }, }, + '#scripted':: d.obj(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."'), + scripted: { + '#withScript':: d.fn(help='"(String)"', args=[d.arg(name='script', type=d.T.string)]), + withScript(script): { script: script }, + }, '#tcp':: d.obj(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."'), tcp: { '#queryResponse':: d.obj(help='"(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\\nThe query sent in the TCP probe and the expected associated response."'), @@ -383,6 +421,10 @@ withDns(dns): { dns: if std.isArray(v=dns) then dns else [dns] }, '#withDnsMixin':: d.fn(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)."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='dns', type=d.T.array)]), withDnsMixin(dns): { dns+: if std.isArray(v=dns) then dns else [dns] }, + '#withGrpc':: d.fn(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."', args=[d.arg(name='grpc', type=d.T.array)]), + withGrpc(grpc): { grpc: if std.isArray(v=grpc) then grpc else [grpc] }, + '#withGrpcMixin':: d.fn(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='grpc', type=d.T.array)]), + withGrpcMixin(grpc): { grpc+: if std.isArray(v=grpc) then grpc else [grpc] }, '#withHttp':: d.fn(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."', args=[d.arg(name='http', type=d.T.array)]), withHttp(http): { http: if std.isArray(v=http) then http else [http] }, '#withHttpMixin':: d.fn(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='http', type=d.T.array)]), @@ -395,6 +437,10 @@ withPing(ping): { ping: if std.isArray(v=ping) then ping else [ping] }, '#withPingMixin':: d.fn(help='"(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ping', type=d.T.array)]), withPingMixin(ping): { ping+: if std.isArray(v=ping) then ping else [ping] }, + '#withScripted':: d.fn(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."', args=[d.arg(name='scripted', type=d.T.array)]), + withScripted(scripted): { scripted: if std.isArray(v=scripted) then scripted else [scripted] }, + '#withScriptedMixin':: d.fn(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='scripted', type=d.T.array)]), + withScriptedMixin(scripted): { scripted+: if std.isArray(v=scripted) then scripted else [scripted] }, '#withTcp':: d.fn(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."', args=[d.arg(name='tcp', type=d.T.array)]), withTcp(tcp): { tcp: if std.isArray(v=tcp) then tcp else [tcp] }, '#withTcpMixin':: d.fn(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='tcp', type=d.T.array)]), @@ -404,13 +450,13 @@ '#withTracerouteMixin':: d.fn(help='"(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\\nSettings for traceroute check. The target must be a valid hostname or IP address"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='traceroute', type=d.T.array)]), withTracerouteMixin(traceroute): { traceroute+: if std.isArray(v=traceroute) then traceroute else [traceroute] }, }, - '#withAlertSensitivity':: d.fn(help='"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`."', args=[d.arg(name='alertSensitivity', type=d.T.string)]), + '#withAlertSensitivity':: d.fn(help='"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`."', args=[d.arg(name='alertSensitivity', type=d.T.string)]), withAlertSensitivity(alertSensitivity): { spec+: { forProvider+: { alertSensitivity: alertSensitivity } } }, '#withBasicMetricsOnly':: d.fn(help="\"(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.\"", args=[d.arg(name='basicMetricsOnly', type=d.T.boolean)]), withBasicMetricsOnly(basicMetricsOnly): { spec+: { forProvider+: { basicMetricsOnly: basicMetricsOnly } } }, '#withEnabled':: d.fn(help='"(Boolean) Whether to enable the check. Defaults to true.\\nWhether to enable the check. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), withEnabled(enabled): { spec+: { forProvider+: { enabled: enabled } } }, - '#withFrequency':: d.fn(help='"(Number) How often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to 60000.\\nHow often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to `60000`."', args=[d.arg(name='frequency', type=d.T.number)]), + '#withFrequency':: d.fn(help='"(Number) How often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\\nHow often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`."', args=[d.arg(name='frequency', type=d.T.number)]), withFrequency(frequency): { spec+: { forProvider+: { frequency: frequency } } }, '#withJob':: d.fn(help='"(String) Name used for job label.\\nName used for job label."', args=[d.arg(name='job', type=d.T.string)]), withJob(job): { spec+: { forProvider+: { job: job } } }, @@ -499,6 +545,39 @@ '#withValidateAuthorityRrsMixin':: d.fn(help='"(Block Set, Max: 1) Validate response authority. (see below for nested schema)\\nValidate response authority."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='validateAuthorityRrs', type=d.T.array)]), withValidateAuthorityRrsMixin(validateAuthorityRrs): { validateAuthorityRrs+: if std.isArray(v=validateAuthorityRrs) then validateAuthorityRrs else [validateAuthorityRrs] }, }, + '#grpc':: d.obj(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."'), + grpc: { + '#tlsConfig':: d.obj(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."'), + tlsConfig: { + '#clientKeySecretRef':: d.obj(help='"(String, Sensitive) Client key in PEM format.\\nClient key in PEM format."'), + clientKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { clientKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { clientKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { clientKeySecretRef+: { namespace: namespace } }, + }, + '#withCaCert':: d.fn(help='"(String) CA certificate in PEM format.\\nCA certificate in PEM format."', args=[d.arg(name='caCert', type=d.T.string)]), + withCaCert(caCert): { caCert: caCert }, + '#withClientCert':: d.fn(help='"(String) Client certificate in PEM format.\\nClient certificate in PEM format."', args=[d.arg(name='clientCert', type=d.T.string)]), + withClientCert(clientCert): { clientCert: clientCert }, + '#withInsecureSkipVerify':: d.fn(help='"(Boolean) Disable target certificate validation. Defaults to false.\\nDisable target certificate validation. Defaults to `false`."', args=[d.arg(name='insecureSkipVerify', type=d.T.boolean)]), + withInsecureSkipVerify(insecureSkipVerify): { insecureSkipVerify: insecureSkipVerify }, + '#withServerName':: d.fn(help='"(String) Used to verify the hostname for the targets.\\nUsed to verify the hostname for the targets."', args=[d.arg(name='serverName', type=d.T.string)]), + withServerName(serverName): { serverName: serverName }, + }, + '#withIpVersion':: d.fn(help="\"(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.\\nOptions are `V4`, `V6`, `Any`. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The `Any` value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to `V4`.\"", args=[d.arg(name='ipVersion', type=d.T.string)]), + withIpVersion(ipVersion): { ipVersion: ipVersion }, + '#withService':: d.fn(help='"(String) gRPC service.\\ngRPC service."', args=[d.arg(name='service', type=d.T.string)]), + withService(service): { service: service }, + '#withTls':: d.fn(help='"(Boolean) Whether or not TLS is used when the connection is initiated. Defaults to false.\\nWhether or not TLS is used when the connection is initiated. Defaults to `false`."', args=[d.arg(name='tls', type=d.T.boolean)]), + withTls(tls): { tls: tls }, + '#withTlsConfig':: d.fn(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."', args=[d.arg(name='tlsConfig', type=d.T.array)]), + withTlsConfig(tlsConfig): { tlsConfig: if std.isArray(v=tlsConfig) then tlsConfig else [tlsConfig] }, + '#withTlsConfigMixin':: d.fn(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='tlsConfig', type=d.T.array)]), + withTlsConfigMixin(tlsConfig): { tlsConfig+: if std.isArray(v=tlsConfig) then tlsConfig else [tlsConfig] }, + }, '#http':: d.obj(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."'), http: { '#basicAuth':: d.obj(help='"(Block Set, Max: 1) Basic auth settings. (see below for nested schema)\\nBasic auth settings."'), @@ -528,6 +607,15 @@ }, '#tlsConfig':: d.obj(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."'), tlsConfig: { + '#clientKeySecretRef':: d.obj(help='"(String, Sensitive) Client key in PEM format.\\nClient key in PEM format."'), + clientKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { clientKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { clientKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { clientKeySecretRef+: { namespace: namespace } }, + }, '#withCaCert':: d.fn(help='"(String) CA certificate in PEM format.\\nCA certificate in PEM format."', args=[d.arg(name='caCert', type=d.T.string)]), withCaCert(caCert): { caCert: caCert }, '#withClientCert':: d.fn(help='"(String) Client certificate in PEM format.\\nClient certificate in PEM format."', args=[d.arg(name='clientCert', type=d.T.string)]), @@ -695,6 +783,11 @@ '#withSourceIpAddress':: d.fn(help='"(String) Source IP address.\\nSource IP address."', args=[d.arg(name='sourceIpAddress', type=d.T.string)]), withSourceIpAddress(sourceIpAddress): { sourceIpAddress: sourceIpAddress }, }, + '#scripted':: d.obj(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."'), + scripted: { + '#withScript':: d.fn(help='"(String)"', args=[d.arg(name='script', type=d.T.string)]), + withScript(script): { script: script }, + }, '#tcp':: d.obj(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."'), tcp: { '#queryResponse':: d.obj(help='"(Block Set) The query sent in the TCP probe and the expected associated response. (see below for nested schema)\\nThe query sent in the TCP probe and the expected associated response."'), @@ -708,6 +801,15 @@ }, '#tlsConfig':: d.obj(help='"(Block Set, Max: 1) TLS config. (see below for nested schema)\\nTLS config."'), tlsConfig: { + '#clientKeySecretRef':: d.obj(help='"(String, Sensitive) Client key in PEM format.\\nClient key in PEM format."'), + clientKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { clientKeySecretRef+: { key: key } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { clientKeySecretRef+: { name: name } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { clientKeySecretRef+: { namespace: namespace } }, + }, '#withCaCert':: d.fn(help='"(String) CA certificate in PEM format.\\nCA certificate in PEM format."', args=[d.arg(name='caCert', type=d.T.string)]), withCaCert(caCert): { caCert: caCert }, '#withClientCert':: d.fn(help='"(String) Client certificate in PEM format.\\nClient certificate in PEM format."', args=[d.arg(name='clientCert', type=d.T.string)]), @@ -745,6 +847,10 @@ withDns(dns): { dns: if std.isArray(v=dns) then dns else [dns] }, '#withDnsMixin':: d.fn(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)."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='dns', type=d.T.array)]), withDnsMixin(dns): { dns+: if std.isArray(v=dns) then dns else [dns] }, + '#withGrpc':: d.fn(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."', args=[d.arg(name='grpc', type=d.T.array)]), + withGrpc(grpc): { grpc: if std.isArray(v=grpc) then grpc else [grpc] }, + '#withGrpcMixin':: d.fn(help='"(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for gRPC Health check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='grpc', type=d.T.array)]), + withGrpcMixin(grpc): { grpc+: if std.isArray(v=grpc) then grpc else [grpc] }, '#withHttp':: d.fn(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."', args=[d.arg(name='http', type=d.T.array)]), withHttp(http): { http: if std.isArray(v=http) then http else [http] }, '#withHttpMixin':: d.fn(help='"(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema)\\nSettings for HTTP check. The target must be a URL (http or https)."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='http', type=d.T.array)]), @@ -757,6 +863,10 @@ withPing(ping): { ping: if std.isArray(v=ping) then ping else [ping] }, '#withPingMixin':: d.fn(help='"(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema)\\nSettings for ping (ICMP) check. The target must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ping', type=d.T.array)]), withPingMixin(ping): { ping+: if std.isArray(v=ping) then ping else [ping] }, + '#withScripted':: d.fn(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."', args=[d.arg(name='scripted', type=d.T.array)]), + withScripted(scripted): { scripted: if std.isArray(v=scripted) then scripted else [scripted] }, + '#withScriptedMixin':: d.fn(help='"cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema)\\nSettings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='scripted', type=d.T.array)]), + withScriptedMixin(scripted): { scripted+: if std.isArray(v=scripted) then scripted else [scripted] }, '#withTcp':: d.fn(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."', args=[d.arg(name='tcp', type=d.T.array)]), withTcp(tcp): { tcp: if std.isArray(v=tcp) then tcp else [tcp] }, '#withTcpMixin':: d.fn(help='"(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)\\nSettings for TCP check. The target must be of the form `:`, where the host portion must be a valid hostname or IP address."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='tcp', type=d.T.array)]), @@ -766,13 +876,13 @@ '#withTracerouteMixin':: d.fn(help='"(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema)\\nSettings for traceroute check. The target must be a valid hostname or IP address"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='traceroute', type=d.T.array)]), withTracerouteMixin(traceroute): { traceroute+: if std.isArray(v=traceroute) then traceroute else [traceroute] }, }, - '#withAlertSensitivity':: d.fn(help='"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`."', args=[d.arg(name='alertSensitivity', type=d.T.string)]), + '#withAlertSensitivity':: d.fn(help='"(String) Can be set to none, low, medium, or high to correspond to the check alert levels. Defaults to none.\\nCan be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`."', args=[d.arg(name='alertSensitivity', type=d.T.string)]), withAlertSensitivity(alertSensitivity): { spec+: { initProvider+: { alertSensitivity: alertSensitivity } } }, '#withBasicMetricsOnly':: d.fn(help="\"(Boolean) Metrics are reduced by default. Set this to false if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults to true.\\nMetrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.\"", args=[d.arg(name='basicMetricsOnly', type=d.T.boolean)]), withBasicMetricsOnly(basicMetricsOnly): { spec+: { initProvider+: { basicMetricsOnly: basicMetricsOnly } } }, '#withEnabled':: d.fn(help='"(Boolean) Whether to enable the check. Defaults to true.\\nWhether to enable the check. Defaults to `true`."', args=[d.arg(name='enabled', type=d.T.boolean)]), withEnabled(enabled): { spec+: { initProvider+: { enabled: enabled } } }, - '#withFrequency':: d.fn(help='"(Number) How often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to 60000.\\nHow often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms). Defaults to `60000`."', args=[d.arg(name='frequency', type=d.T.number)]), + '#withFrequency':: d.fn(help='"(Number) How often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to 60000.\\nHow often the check runs in milliseconds (the value is not truly a \\"frequency\\" but a \\"period\\"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`."', args=[d.arg(name='frequency', type=d.T.number)]), withFrequency(frequency): { spec+: { initProvider+: { frequency: frequency } } }, '#withJob':: d.fn(help='"(String) Name used for job label.\\nName used for job label."', args=[d.arg(name='job', type=d.T.string)]), withJob(job): { spec+: { initProvider+: { job: job } } }, diff --git a/provider-grafana/0.15/_gen/sm/v1alpha1/installation.libsonnet b/provider-grafana/0.18/_gen/sm/v1alpha1/installation.libsonnet similarity index 91% rename from provider-grafana/0.15/_gen/sm/v1alpha1/installation.libsonnet rename to provider-grafana/0.18/_gen/sm/v1alpha1/installation.libsonnet index a9000a5626..c08f9413e8 100644 --- a/provider-grafana/0.15/_gen/sm/v1alpha1/installation.libsonnet +++ b/provider-grafana/0.18/_gen/sm/v1alpha1/installation.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='installation', url='', help='"Installation is the Schema for the Installations API. Sets up Synthetic Monitoring on a Grafana cloud stack and generates a token. Once a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring. This resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues. Note that this resource must be used on a provider configured with Grafana Cloud credentials. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/installation/API documentation https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall Required access policy scopes: stacks:read"'), + '#':: d.pkg(name='installation', url='', help='"Installation is the Schema for the Installations API. Sets up Synthetic Monitoring on a Grafana cloud stack and generates a token. Once a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring. This resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues. Note that this resource must be used on a provider configured with Grafana Cloud credentials. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/API documentation https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md#apiv1registerinstall Required access policy scopes: stacks:read"'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -92,7 +92,7 @@ }, '#withStackId':: d.fn(help='"(String) The ID or slug of the stack to install SM on.\\nThe ID or slug of the stack to install SM on."', args=[d.arg(name='stackId', type=d.T.string)]), withStackId(stackId): { spec+: { forProvider+: { stackId: stackId } } }, - '#withStackSmApiUrl':: d.fn(help="\"cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\"", args=[d.arg(name='stackSmApiUrl', type=d.T.string)]), + '#withStackSmApiUrl':: d.fn(help="\"cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\"", args=[d.arg(name='stackSmApiUrl', type=d.T.string)]), withStackSmApiUrl(stackSmApiUrl): { spec+: { forProvider+: { stackSmApiUrl: stackSmApiUrl } } }, }, '#initProvider':: d.obj(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."'), @@ -125,9 +125,18 @@ '#withMatchLabelsMixin':: d.fn(help='"MatchLabels ensures an object with matching labels is selected."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), withMatchLabelsMixin(matchLabels): { spec+: { initProvider+: { cloudStackSelector+: { matchLabels+: matchLabels } } } }, }, + '#metricsPublisherKeySecretRef':: d.obj(help='"(String, Sensitive) The Grafana Cloud access policy with the following scopes: stacks:read, metrics:write, logs:write, traces:write. This is used to publish metrics and logs to Grafana Cloud stack.\\nThe [Grafana Cloud access policy](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/) with the following scopes: `stacks:read`, `metrics:write`, `logs:write`, `traces:write`. This is used to publish metrics and logs to Grafana Cloud stack."'), + metricsPublisherKeySecretRef: { + '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), + withKey(key): { spec+: { initProvider+: { metricsPublisherKeySecretRef+: { key: key } } } }, + '#withName':: d.fn(help='"Name of the secret."', args=[d.arg(name='name', type=d.T.string)]), + withName(name): { spec+: { initProvider+: { metricsPublisherKeySecretRef+: { name: name } } } }, + '#withNamespace':: d.fn(help='"Namespace of the secret."', args=[d.arg(name='namespace', type=d.T.string)]), + withNamespace(namespace): { spec+: { initProvider+: { metricsPublisherKeySecretRef+: { namespace: namespace } } } }, + }, '#withStackId':: d.fn(help='"(String) The ID or slug of the stack to install SM on.\\nThe ID or slug of the stack to install SM on."', args=[d.arg(name='stackId', type=d.T.string)]), withStackId(stackId): { spec+: { initProvider+: { stackId: stackId } } }, - '#withStackSmApiUrl':: d.fn(help="\"cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\"", args=[d.arg(name='stackSmApiUrl', type=d.T.string)]), + '#withStackSmApiUrl':: d.fn(help="\"cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\\nThe URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.\"", args=[d.arg(name='stackSmApiUrl', type=d.T.string)]), withStackSmApiUrl(stackSmApiUrl): { spec+: { initProvider+: { stackSmApiUrl: stackSmApiUrl } } }, }, '#providerConfigRef':: d.obj(help='"ProviderConfigReference specifies how the provider that will be used to\\ncreate, observe, update, and delete this managed resource should be\\nconfigured."'), diff --git a/provider-grafana/0.15/_gen/sm/v1alpha1/main.libsonnet b/provider-grafana/0.18/_gen/sm/v1alpha1/main.libsonnet similarity index 100% rename from provider-grafana/0.15/_gen/sm/v1alpha1/main.libsonnet rename to provider-grafana/0.18/_gen/sm/v1alpha1/main.libsonnet diff --git a/provider-grafana/0.15/_gen/sm/v1alpha1/probe.libsonnet b/provider-grafana/0.18/_gen/sm/v1alpha1/probe.libsonnet similarity index 96% rename from provider-grafana/0.15/_gen/sm/v1alpha1/probe.libsonnet rename to provider-grafana/0.18/_gen/sm/v1alpha1/probe.libsonnet index 4dc1563090..bdc3780560 100644 --- a/provider-grafana/0.15/_gen/sm/v1alpha1/probe.libsonnet +++ b/provider-grafana/0.18/_gen/sm/v1alpha1/probe.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='probe', url='', help='"Probe is the Schema for the Probes API. Besides the public probes run by Grafana Labs, you can also install your own private probes. These are only accessible to you and only write data to your Grafana Cloud account. Private probes are instances of the open source Grafana Synthetic Monitoring Agent. Official documentation https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/set-up/set-up-private-probes/"'), + '#':: d.pkg(name='probe', url='', help='"Probe is the Schema for the Probes API. Besides the public probes run by Grafana Labs, you can also install your own private probes. These are only accessible to you and only write data to your Grafana Cloud account. Private probes are instances of the open source Grafana Synthetic Monitoring Agent. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/"'), '#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'), metadata: { '#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]), @@ -53,6 +53,8 @@ spec: { '#forProvider':: d.obj(help=''), forProvider: { + '#withDisableScriptedChecks':: d.fn(help='"(Boolean) Disables scripted checks for this probe. Defaults to false.\\nDisables scripted checks for this probe. Defaults to `false`."', args=[d.arg(name='disableScriptedChecks', type=d.T.boolean)]), + withDisableScriptedChecks(disableScriptedChecks): { spec+: { forProvider+: { disableScriptedChecks: disableScriptedChecks } } }, '#withLabels':: d.fn(help='"(Map of String) Custom labels to be included with collected metrics and logs.\\nCustom labels to be included with collected metrics and logs."', args=[d.arg(name='labels', type=d.T.object)]), withLabels(labels): { spec+: { forProvider+: { labels: labels } } }, '#withLabelsMixin':: d.fn(help='"(Map of String) Custom labels to be included with collected metrics and logs.\\nCustom labels to be included with collected metrics and logs."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='labels', type=d.T.object)]), @@ -70,6 +72,8 @@ }, '#initProvider':: d.obj(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."'), initProvider: { + '#withDisableScriptedChecks':: d.fn(help='"(Boolean) Disables scripted checks for this probe. Defaults to false.\\nDisables scripted checks for this probe. Defaults to `false`."', args=[d.arg(name='disableScriptedChecks', type=d.T.boolean)]), + withDisableScriptedChecks(disableScriptedChecks): { spec+: { initProvider+: { disableScriptedChecks: disableScriptedChecks } } }, '#withLabels':: d.fn(help='"(Map of String) Custom labels to be included with collected metrics and logs.\\nCustom labels to be included with collected metrics and logs."', args=[d.arg(name='labels', type=d.T.object)]), withLabels(labels): { spec+: { initProvider+: { labels: labels } } }, '#withLabelsMixin':: d.fn(help='"(Map of String) Custom labels to be included with collected metrics and logs.\\nCustom labels to be included with collected metrics and logs."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='labels', type=d.T.object)]), diff --git a/provider-grafana/0.15/gen.libsonnet b/provider-grafana/0.18/gen.libsonnet similarity index 89% rename from provider-grafana/0.15/gen.libsonnet rename to provider-grafana/0.18/gen.libsonnet index 50628d6894..cd76c6ff73 100644 --- a/provider-grafana/0.15/gen.libsonnet +++ b/provider-grafana/0.18/gen.libsonnet @@ -1,6 +1,6 @@ { local d = (import 'doc-util/main.libsonnet'), - '#':: d.pkg(name='crossplane_grafana', url='github.com/jsonnet-libs/crossplane-libsonnet/provider-grafana/0.15/main.libsonnet', help=''), + '#':: d.pkg(name='crossplane_grafana', url='github.com/jsonnet-libs/crossplane-libsonnet/provider-grafana/0.18/main.libsonnet', help=''), alerting:: (import '_gen/alerting/main.libsonnet'), cloud:: (import '_gen/cloud/main.libsonnet'), enterprise:: (import '_gen/enterprise/main.libsonnet'), diff --git a/provider-grafana/0.15/main.libsonnet b/provider-grafana/0.18/main.libsonnet similarity index 100% rename from provider-grafana/0.15/main.libsonnet rename to provider-grafana/0.18/main.libsonnet