diff --git a/docs/resources/machine_learning_job.md b/docs/resources/machine_learning_job.md index b9ad6c5f8..006970e4f 100644 --- a/docs/resources/machine_learning_job.md +++ b/docs/resources/machine_learning_job.md @@ -4,12 +4,17 @@ page_title: "grafana_machine_learning_job Resource - terraform-provider-grafana" subcategory: "Machine Learning" description: |- A job defines the queries and model parameters for a machine learning task. + See the Grafana Cloud docs https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for more information + on available hyperparameters for use in the hyper_params field. --- # grafana_machine_learning_job (Resource) A job defines the queries and model parameters for a machine learning task. +See [the Grafana Cloud docs](https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/) for more information +on available hyperparameters for use in the `hyper_params` field. + ## Example Usage ### Basic Forecast diff --git a/internal/resources/machinelearning/resource_job.go b/internal/resources/machinelearning/resource_job.go index 46bc3c6ba..e4a1aba90 100644 --- a/internal/resources/machinelearning/resource_job.go +++ b/internal/resources/machinelearning/resource_job.go @@ -18,7 +18,9 @@ func resourceJob() *common.Resource { Description: ` A job defines the queries and model parameters for a machine learning task. -`, + +See [the Grafana Cloud docs](https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/) for more information +on available hyperparameters for use in the ` + "`hyper_params`" + ` field.`, CreateContext: checkClient(resourceJobCreate), ReadContext: checkClient(resourceJobRead), @@ -77,7 +79,7 @@ A job defines the queries and model parameters for a machine learning task. Default: 300, }, "hyper_params": { - Description: "The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/machine-learning/models/ for the full list of available hyperparameters.", + Description: "The hyperparameters used to fine tune the algorithm. See https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/forecasts/models/ for the full list of available hyperparameters.", Type: schema.TypeMap, Optional: true, Default: map[string]interface{}{},