// Code generated by user config generator. DO NOT EDIT.

package serviceintegration

import (
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

	"github.com/aiven/terraform-provider-aiven/internal/sdkprovider/userconfig/diff"
)

func autoscalerServiceUserConfig() *schema.Schema {
	return &schema.Schema{
		Description:      "AutoscalerService user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later",
		DiffSuppressFunc: diff.SuppressUnchanged,
		Elem: &schema.Resource{Schema: map[string]*schema.Schema{"autoscaling": {
			Description: "Configure service autoscaling integration. This is an experimental api and subject to change. For further assistance, contact the Aiven support team mailto:support@aiven.io or your account team",
			Elem: &schema.Resource{Schema: map[string]*schema.Schema{
				"max_plan": {
					Description: "Max Plan. Example: `business-5`.",
					Optional:    true,
					Type:        schema.TypeString,
				},
				"min_plan": {
					Description: "Min Plan. Example: `business-4`.",
					Optional:    true,
					Type:        schema.TypeString,
				},
			}},
			MaxItems: 1,
			Optional: true,
			Type:     schema.TypeList,
		}}},
		MaxItems: 1,
		Optional: true,
		Type:     schema.TypeList,
	}
}
