Skip to content

Commit

Permalink
Updated assets for terraform
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar <ssalvi@vmware.com>
  • Loading branch information
sagarpsalvi committed Feb 22, 2024
1 parent 62ae378 commit f775fce
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions avi/resource_avi_rest_dependants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,12 @@ func ResourceAppLearningConfidenceOverrideSchema() *schema.Resource {
func ResourceAppLearningParamsSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
"enable_learn_from_bots": {
Type: schema.TypeString,
Optional: true,
Default: "true",
ValidateFunc: validateBool,
},
"enable_per_uri_learning": {
Type: schema.TypeString,
Optional: true,
Expand Down Expand Up @@ -4343,7 +4349,7 @@ func ResourceCSRFRuleSchema() *schema.Resource {
"action": {
Type: schema.TypeString,
Optional: true,
Default: "VERIFY_CSRF_TOKEN",
Default: "VERIFY_ORIGIN_AND_CSRF_TOKEN",
},
"enable": {
Type: schema.TypeString,
Expand Down Expand Up @@ -21696,12 +21702,12 @@ func ResourceMetricsDbDiskEventDetailsSchema() *schema.Resource {
"metrics_free_sz": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateInteger,
ValidateFunc: validateFloat,
},
"metrics_quota": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateInteger,
ValidateFunc: validateFloat,
},
},
}
Expand Down

0 comments on commit f775fce

Please sign in to comment.