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 Mar 4, 2024
1 parent 05adc8a commit 2d3beea
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 4 deletions.
4 changes: 4 additions & 0 deletions avi/datasource_avi_controllerproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ func dataSourceAviControllerProperties() *schema.Resource {
Computed: true,
Elem: &schema.Schema{Type: schema.TypeInt},
},
"system_report_cleanup_interval": {
Type: schema.TypeString,
Computed: true,
},
"system_report_limit": {
Type: schema.TypeString,
Computed: true,
Expand Down
6 changes: 6 additions & 0 deletions avi/resource_avi_controllerproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,12 @@ func ResourceControllerPropertiesSchema() map[string]*schema.Schema {
Optional: true,
Elem: &schema.Schema{Type: schema.TypeInt},
},
"system_report_cleanup_interval": {
Type: schema.TypeString,
Optional: true,
Default: "60",
ValidateFunc: validateInteger,
},
"system_report_limit": {
Type: schema.TypeString,
Optional: true,
Expand Down
6 changes: 6 additions & 0 deletions avi/resource_avi_rest_dependants.go
Original file line number Diff line number Diff line change
Expand Up @@ -12383,6 +12383,12 @@ func ResourceEventDetailsSchema() *schema.Resource {
Computed: true,
Elem: ResourceCloudSyncServicesSchema(),
},
"system_report_event_details": {
Type: schema.TypeSet,
Optional: true,
Computed: true,
Elem: ResourceSystemReportSchema(),
},
"tencent_info": {
Type: schema.TypeSet,
Optional: true,
Expand Down
3 changes: 2 additions & 1 deletion website/docs/d/avi_controllerproperties.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ In addition to all arguments above, the following attributes are exported:
* `skopeo_retry_limit` - Number of times to try skopeo commands for remote image registries. Field introduced in 30.1.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `soft_min_mem_per_se_limit` - Soft limit on the minimum se memory that an se needs to have on se register. Field introduced in 30.1.1. Unit is mb. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `ssl_certificate_expiry_warning_days` - Number of days for ssl certificate expiry warning. Unit is days. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* `system_report_limit` - Number of systemreports retained in the system. Once the number of system reports exceed this threshold, the oldest systemreport will be removed and the latest one retained. I.e. The systemreport will be rotated and the reports don't exceed the threshold. Allowed values are 5-50. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `system_report_cleanup_interval` - Time in minutes to wait between cleanup of systemreports. Allowed values are 15-300. Field introduced in 22.1.6, 30.2.1. Unit is min. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition.
* `system_report_limit` - Number of systemreports retained in the system. Once the number of system reports exceed this threshold, the oldest systemreport will be removed and the latest one retained. I.e. The systemreport will be rotated and the reports don't exceed the threshold. Allowed values are 5-50. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition.
* `unresponsive_se_reboot` - Unit is sec. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* `update_dns_entry_retry_limit` - Number of times to retry a dns entry update/delete operation. Field introduced in 21.1.4. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `update_dns_entry_timeout` - Timeout period for a dns entry update/delete operation. Field introduced in 21.1.4. Unit is sec. Allowed in enterprise edition with any value, enterprise with cloud services edition.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/avi_systemreport.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ In addition to all arguments above, the following attributes are exported:
* `downloadable` - Indicates whether this report is downloadable as an archive. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `events` - List of events associated with the report. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `image_ref` - System image associated with the report. It is a reference to an object of type image. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `name` - Name of the report dervied from operation in a readable format. Ex upgrade_system_1a5c. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `name` - Name of the report derived from operation in a readable format. Ex upgrade_system_1a5c. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `readiness_reports` - Readiness state of the system. Ex upgrade pre-check results. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `se_patch_image_ref` - Se patch image associated with the report. It is a reference to an object of type image. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `state` - Report state combines all applicable states. Ex readiness_reports.system_readiness.state. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
Expand Down
3 changes: 2 additions & 1 deletion website/docs/r/avi_controllerproperties.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ The following arguments are supported:
* `skopeo_retry_limit` - (Optional) Number of times to try skopeo commands for remote image registries. Field introduced in 30.1.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `soft_min_mem_per_se_limit` - (Optional) Soft limit on the minimum se memory that an se needs to have on se register. Field introduced in 30.1.1. Unit is mb. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `ssl_certificate_expiry_warning_days` - (Optional) Number of days for ssl certificate expiry warning. Unit is days. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* `system_report_limit` - (Optional) Number of systemreports retained in the system. Once the number of system reports exceed this threshold, the oldest systemreport will be removed and the latest one retained. I.e. The systemreport will be rotated and the reports don't exceed the threshold. Allowed values are 5-50. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `system_report_cleanup_interval` - (Optional) Time in minutes to wait between cleanup of systemreports. Allowed values are 15-300. Field introduced in 22.1.6, 30.2.1. Unit is min. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition.
* `system_report_limit` - (Optional) Number of systemreports retained in the system. Once the number of system reports exceed this threshold, the oldest systemreport will be removed and the latest one retained. I.e. The systemreport will be rotated and the reports don't exceed the threshold. Allowed values are 5-50. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition.
* `unresponsive_se_reboot` - (Optional) Unit is sec. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* `update_dns_entry_retry_limit` - (Optional) Number of times to retry a dns entry update/delete operation. Field introduced in 21.1.4. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `update_dns_entry_timeout` - (Optional) Timeout period for a dns entry update/delete operation. Field introduced in 21.1.4. Unit is sec. Allowed in enterprise edition with any value, enterprise with cloud services edition.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/avi_systemreport.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The following arguments are supported:
* `downloadable` - (Optional) Indicates whether this report is downloadable as an archive. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `events` - (Optional) List of events associated with the report. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `image_ref` - (Optional) System image associated with the report. It is a reference to an object of type image. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `name` - (Optional) Name of the report dervied from operation in a readable format. Ex upgrade_system_1a5c. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `name` - (Optional) Name of the report derived from operation in a readable format. Ex upgrade_system_1a5c. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `readiness_reports` - (Optional) Readiness state of the system. Ex upgrade pre-check results. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `se_patch_image_ref` - (Optional) Se patch image associated with the report. It is a reference to an object of type image. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
* `state` - (Optional) Report state combines all applicable states. Ex readiness_reports.system_readiness.state. Field introduced in 22.1.6, 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition.
Expand Down

0 comments on commit 2d3beea

Please sign in to comment.