Skip to content

Commit

Permalink
Merge pull request #588 from vmware/jenkins_sync_eng_tf
Browse files Browse the repository at this point in the history
Auto updated assets for terraform eng
  • Loading branch information
Rohan-sss1 authored Jul 18, 2024
2 parents dded6fb + ad53039 commit c046635
Show file tree
Hide file tree
Showing 62 changed files with 1,160 additions and 111 deletions.
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

0 comments on commit c046635

Please sign in to comment.