Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto updated assets for terraform eng #588

Merged
merged 25 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
55a5973
Updated assets for terraform
sagarpsalvi Mar 26, 2024
3b1aa50
Updated assets for terraform
sagarpsalvi Mar 27, 2024
6db7f7e
Updated assets for terraform
sagarpsalvi Mar 29, 2024
9f195ab
Updated assets for terraform
sagarpsalvi Apr 10, 2024
f29cda5
Updated assets for terraform
sagarpsalvi Apr 26, 2024
2165d55
Updated assets for terraform
sagarpsalvi Apr 30, 2024
a70b8d4
Updated assets for terraform
sagarpsalvi May 2, 2024
3d9988b
Updated assets for terraform
sagarpsalvi May 7, 2024
441cf46
Updated assets for terraform
sagarpsalvi May 14, 2024
bd5bb8f
Updated assets for terraform
sagarpsalvi May 16, 2024
2a9e255
Updated assets for terraform
sagarpsalvi May 24, 2024
f7400e2
Updated assets for terraform
sagarpsalvi May 27, 2024
c30c561
Updated assets for terraform
sagarpsalvi Jun 6, 2024
8812278
Updated assets for terraform
sagarpsalvi Jun 7, 2024
d53a93d
Updated assets for terraform
sagarpsalvi Jun 10, 2024
296f427
Updated assets for terraform
sagarpsalvi Jun 12, 2024
d3f6756
Updated assets for terraform
sagarpsalvi Jun 14, 2024
395ac21
Updated assets for terraform
sagarpsalvi Jun 21, 2024
6760863
Updated assets for terraform
sagarpsalvi Jun 24, 2024
79c1153
Updated assets for terraform
sagarpsalvi Jun 27, 2024
e934d0a
Updated assets for terraform
sagarpsalvi Jul 2, 2024
2bc89cf
Updated assets for terraform
sagarpsalvi Jul 3, 2024
05959a5
Updated assets for terraform
sagarpsalvi Jul 11, 2024
19cc670
Updated assets for terraform
sagarpsalvi Jul 16, 2024
ad53039
Updated assets for terraform
sagarpsalvi Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion avi/data_source_avi_certificatemanagementprofile_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_cluster_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_pool_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_useraccount_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
29 changes: 16 additions & 13 deletions avi/datasource_avi_controllerproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ func dataSourceAviControllerProperties() *schema.Resource {
return &schema.Resource{
Read: ResourceAviControllerPropertiesRead,
Schema: map[string]*schema.Schema{
"alert_manager_use_evms": {
Type: schema.TypeString,
Computed: true,
},
"allow_admin_network_updates": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -154,6 +158,18 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"event_manager_max_goroutines": {
Type: schema.TypeString,
Computed: true,
},
"event_manager_max_subscribers": {
Type: schema.TypeString,
Computed: true,
},
"event_manager_processing_time_threshold": {
Type: schema.TypeString,
Computed: true,
},
"false_positive_learning_config": {
Type: schema.TypeSet,
Computed: true,
Expand All @@ -171,11 +187,6 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"file_reference_mappings": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceFileReferenceMappingSchema(),
},
"fileobject_max_file_versions": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -328,14 +339,6 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"skopeo_retry_interval": {
Type: schema.TypeString,
Computed: true,
},
"skopeo_retry_limit": {
Type: schema.TypeString,
Computed: true,
},
"soft_min_mem_per_se_limit": {
Type: schema.TypeString,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion avi/datasource_avi_fileservice.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_licensestatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ func dataSourceAviLicenseStatus() *schema.Resource {
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"essentials_enforced_at": {
Type: schema.TypeString,
Computed: true,
},
"saas_status": {
Type: schema.TypeSet,
Computed: true,
Expand Down
8 changes: 8 additions & 0 deletions avi/datasource_avi_serviceenginegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ func dataSourceAviServiceEngineGroup() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"gve_enabled": {
Type: schema.TypeString,
Computed: true,
},
"ha_mode": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -511,6 +515,10 @@ func dataSourceAviServiceEngineGroup() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"max_num_http_sessions_to_store": {
Type: schema.TypeString,
Computed: true,
},
"max_num_se_dps": {
Type: schema.TypeString,
Computed: true,
Expand Down
13 changes: 13 additions & 0 deletions avi/datasource_avi_systemconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ func dataSourceAviSystemConfiguration() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"enable_host_header_check": {
Type: schema.TypeString,
Computed: true,
},
"enable_telemetry": {
Type: schema.TypeString,
Computed: true,
},
"fips_mode": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -125,6 +133,11 @@ func dataSourceAviSystemConfiguration() *schema.Resource {
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
"trusted_host_profiles_refs": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_systemreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ func dataSourceAviSystemReport() *schema.Resource {
Computed: true,
Elem: ResourceReportSummarySchema(),
},
"tasks": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceReportTaskSchema(),
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Expand Down
60 changes: 60 additions & 0 deletions avi/datasource_avi_taskjournal.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// Copyright 2019 VMware, Inc.
// SPDX-License-Identifier: Mozilla Public License 2.0

package avi

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

func dataSourceAviTaskJournal() *schema.Resource {
return &schema.Resource{
Read: ResourceAviTaskJournalRead,
Schema: map[string]*schema.Schema{
"errors": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceJournalErrorSchema(),
},
"image_ref": {
Type: schema.TypeString,
Computed: true,
},
"info": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceJournalInfoSchema(),
},
"name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"obj_cloud_ref": {
Type: schema.TypeString,
Computed: true,
},
"operation": {
Type: schema.TypeString,
Computed: true,
},
"patch_image_ref": {
Type: schema.TypeString,
Computed: true,
},
"summary": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceJournalSummarySchema(),
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
},
}
}
39 changes: 39 additions & 0 deletions avi/datasource_avi_trustedhostprofile.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Copyright 2019 VMware, Inc.
// SPDX-License-Identifier: Mozilla Public License 2.0

package avi

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

func dataSourceAviTrustedHostProfile() *schema.Resource {
return &schema.Resource{
Read: ResourceAviTrustedHostProfileRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"hosts": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
"name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
},
}
}
8 changes: 0 additions & 8 deletions avi/datasource_avi_upgradestatusinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ func dataSourceAviUpgradeStatusInfo() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"prev_remote_image_ref": {
Type: schema.TypeString,
Computed: true,
},
"previous_image_ref": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -138,10 +134,6 @@ func dataSourceAviUpgradeStatusInfo() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"remote_image_ref": {
Type: schema.TypeString,
Computed: true,
},
"se_patch_image_path": {
Type: schema.TypeString,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion avi/diff_suppress_func.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
8 changes: 6 additions & 2 deletions avi/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ func Provider() *schema.Provider {
"avi_licenseledgerdetails": dataSourceAviLicenseLedgerDetails(),
"avi_ssopolicy": dataSourceAviSSOPolicy(),
"avi_systemreport": dataSourceAviSystemReport(),
"avi_taskjournal": dataSourceAviTaskJournal(),
"avi_authprofile": dataSourceAviAuthProfile(),
"avi_authmappingprofile": dataSourceAviAuthMappingProfile(),
"avi_serviceauthprofile": dataSourceAviServiceAuthProfile(),
"avi_controllerproperties": dataSourceAviControllerProperties(),
"avi_l4policyset": dataSourceAviL4PolicySet(),
"avi_trustedhostprofile": dataSourceAviTrustedHostProfile(),
"avi_systemconfiguration": dataSourceAviSystemConfiguration(),
"avi_controllersite": dataSourceAviControllerSite(),
"avi_alertsyslogconfig": dataSourceAviAlertSyslogConfig(),
Expand All @@ -126,6 +128,7 @@ func Provider() *schema.Provider {
"avi_vsdatascriptset": dataSourceAviVSDataScriptSet(),
"avi_cluster": dataSourceAviCluster(),
"avi_clusterclouddetails": dataSourceAviClusterCloudDetails(),
"avi_licensestatus": dataSourceAviLicenseStatus(),
"avi_role": dataSourceAviRole(),
"avi_useraccountprofile": dataSourceAviUserAccountProfile(),
"avi_user": dataSourceAviUser(),
Expand Down Expand Up @@ -177,7 +180,6 @@ func Provider() *schema.Provider {
"avi_testsedatastorelevel3": dataSourceAviTestSeDatastoreLevel3(),
"avi_albservicesfileupload": dataSourceAviALBServicesFileUpload(),
"avi_dynamicdnsrecord": dataSourceAviDynamicDnsRecord(),
"avi_licensestatus": dataSourceAviLicenseStatus(),
"avi_seproperties": dataSourceAviSeProperties(),
"avi_cloudproperties": dataSourceAviCloudProperties(),
"avi_albservicesfiledownload": dataSourceAviALBServicesFileDownload(),
Expand Down Expand Up @@ -219,11 +221,13 @@ func Provider() *schema.Provider {
"avi_licenseledgerdetails": resourceAviLicenseLedgerDetails(),
"avi_ssopolicy": resourceAviSSOPolicy(),
"avi_systemreport": resourceAviSystemReport(),
"avi_taskjournal": resourceAviTaskJournal(),
"avi_authprofile": resourceAviAuthProfile(),
"avi_authmappingprofile": resourceAviAuthMappingProfile(),
"avi_serviceauthprofile": resourceAviServiceAuthProfile(),
"avi_controllerproperties": resourceAviControllerProperties(),
"avi_l4policyset": resourceAviL4PolicySet(),
"avi_trustedhostprofile": resourceAviTrustedHostProfile(),
"avi_systemconfiguration": resourceAviSystemConfiguration(),
"avi_controllersite": resourceAviControllerSite(),
"avi_alertsyslogconfig": resourceAviAlertSyslogConfig(),
Expand All @@ -245,6 +249,7 @@ func Provider() *schema.Provider {
"avi_vsdatascriptset": resourceAviVSDataScriptSet(),
"avi_cluster": resourceAviCluster(),
"avi_clusterclouddetails": resourceAviClusterCloudDetails(),
"avi_licensestatus": resourceAviLicenseStatus(),
"avi_role": resourceAviRole(),
"avi_useraccountprofile": resourceAviUserAccountProfile(),
"avi_user": resourceAviUser(),
Expand Down Expand Up @@ -296,7 +301,6 @@ func Provider() *schema.Provider {
"avi_testsedatastorelevel3": resourceAviTestSeDatastoreLevel3(),
"avi_albservicesfileupload": resourceAviALBServicesFileUpload(),
"avi_dynamicdnsrecord": resourceAviDynamicDnsRecord(),
"avi_licensestatus": resourceAviLicenseStatus(),
"avi_seproperties": resourceAviSeProperties(),
"avi_cloudproperties": resourceAviCloudProperties(),
"avi_albservicesfiledownload": resourceAviALBServicesFileDownload(),
Expand Down
2 changes: 1 addition & 1 deletion avi/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/resource_avi_alertsyslogconfig_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/resource_avi_certificatemanagementprofile_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2023 VMware, Inc. All rights reserved. VMware Confidential
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* ========================================================================
*/

Expand Down
Loading
Loading