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 go models and clients eng #2951

Open
wants to merge 51 commits into
base: eng
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
24ced98
Updated assets for go models and clients
sagarpsalvi May 2, 2024
70b081d
Updated assets for go models and clients
sagarpsalvi May 3, 2024
45625bc
Updated assets for go models and clients
sagarpsalvi May 6, 2024
044dea7
Updated assets for go models and clients
sagarpsalvi May 6, 2024
f3281fa
Updated assets for go models and clients
sagarpsalvi May 7, 2024
402c71a
Updated assets for go models and clients
sagarpsalvi May 10, 2024
841c61e
Updated assets for go models and clients
sagarpsalvi May 14, 2024
713037f
Updated assets for go models and clients
sagarpsalvi May 16, 2024
eca288b
Updated assets for go models and clients
sagarpsalvi May 20, 2024
ccd071d
Updated assets for go models and clients
sagarpsalvi May 24, 2024
8ff76d6
Updated assets for go models and clients
sagarpsalvi May 27, 2024
ba27ff8
Updated assets for go models and clients
sagarpsalvi May 30, 2024
2d7a317
Updated assets for go models and clients
sagarpsalvi Jun 7, 2024
21e2644
Updated assets for go models and clients
sagarpsalvi Jun 12, 2024
91bdb55
Updated assets for go models and clients
sagarpsalvi Jun 14, 2024
9c2930c
Updated assets for go models and clients
sagarpsalvi Jun 21, 2024
5a755bd
Updated assets for go models and clients
sagarpsalvi Jun 24, 2024
e4f5f03
Updated assets for go models and clients
sagarpsalvi Jun 28, 2024
c439156
Updated assets for go models and clients
sagarpsalvi Jul 2, 2024
913071e
Updated assets for go models and clients
sagarpsalvi Jul 3, 2024
f9b1613
Updated assets for go models and clients
sagarpsalvi Jul 11, 2024
b9583a2
Updated assets for go models and clients
sagarpsalvi Jul 12, 2024
95bf7bf
Updated assets for go models and clients
sagarpsalvi Jul 16, 2024
7a89a71
Updated assets for go models and clients
sagarpsalvi Jul 17, 2024
d7129c3
Updated assets for go models and clients
sagarpsalvi Jul 18, 2024
e834fb3
Updated assets for go models and clients
sagarpsalvi Jul 23, 2024
152e048
Updated assets for go models and clients
sagarpsalvi Jul 25, 2024
c5e7850
Updated assets for go models and clients
sagarpsalvi Jul 30, 2024
43e0cb2
Updated assets for go models and clients
sagarpsalvi Jul 31, 2024
8b242f2
Updated assets for go models and clients
sagarpsalvi Jul 31, 2024
aaebf06
Updated assets for go models and clients
sagarpsalvi Aug 1, 2024
263b5db
Updated assets for go models and clients
sagarpsalvi Aug 9, 2024
957741c
Updated assets for go models and clients
sagarpsalvi Aug 12, 2024
692c1a3
Updated assets for go models and clients
sagarpsalvi Aug 14, 2024
aecf753
Updated assets for go models and clients
sagarpsalvi Aug 15, 2024
35d7707
Updated assets for go models and clients
sagarpsalvi Aug 19, 2024
5099534
Updated assets for go models and clients
sagarpsalvi Aug 20, 2024
d52f917
Updated assets for go models and clients
sagarpsalvi Aug 22, 2024
40f6dc8
Updated assets for go models and clients
sagarpsalvi Aug 23, 2024
bb45da4
Updated assets for go models and clients
sagarpsalvi Aug 26, 2024
52258a2
Updated assets for go models and clients
sagarpsalvi Sep 2, 2024
1cded50
Updated assets for go models and clients
sagarpsalvi Sep 3, 2024
f411bfa
Updated assets for go models and clients
sagarpsalvi Sep 4, 2024
0eaf833
Updated assets for go models and clients
sagarpsalvi Sep 5, 2024
1b2f6e0
Updated assets for go models and clients
sagarpsalvi Sep 9, 2024
6008e93
Updated assets for go models and clients
sagarpsalvi Sep 11, 2024
0c47c94
Updated assets for go models and clients
sagarpsalvi Sep 12, 2024
8bebde0
Updated assets for go models and clients
sagarpsalvi Sep 13, 2024
fc956e0
Updated assets for go models and clients
sagarpsalvi Sep 16, 2024
d1dba63
Updated assets for go models and clients
sagarpsalvi Sep 25, 2024
127c1bd
Updated assets for go models and clients
sagarpsalvi Oct 2, 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 go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/vmware/alb-sdk

go 1.16
go 1.22.2

require github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
2 changes: 2 additions & 0 deletions go/clients/avi_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ type AviClient struct {
TestSeDatastoreLevel2 *TestSeDatastoreLevel2Client
TestSeDatastoreLevel3 *TestSeDatastoreLevel3Client
TrafficCloneProfile *TrafficCloneProfileClient
TrustedHostProfile *TrustedHostProfileClient
UpgradeStatusInfo *UpgradeStatusInfoClient
UpgradeStatusSummary *UpgradeStatusSummaryClient
User *UserClient
Expand Down Expand Up @@ -294,6 +295,7 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess
aviClient.TestSeDatastoreLevel2 = NewTestSeDatastoreLevel2Client(aviSession)
aviClient.TestSeDatastoreLevel3 = NewTestSeDatastoreLevel3Client(aviSession)
aviClient.TrafficCloneProfile = NewTrafficCloneProfileClient(aviSession)
aviClient.TrustedHostProfile = NewTrustedHostProfileClient(aviSession)
aviClient.UpgradeStatusInfo = NewUpgradeStatusInfoClient(aviSession)
aviClient.UpgradeStatusSummary = NewUpgradeStatusSummaryClient(aviSession)
aviClient.User = NewUserClient(aviSession)
Expand Down
112 changes: 112 additions & 0 deletions go/clients/trustedhostprofile_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
// Copyright 2019 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0

package clients

// This file is auto-generated.

import (
"github.com/vmware/alb-sdk/go/models"
"github.com/vmware/alb-sdk/go/session"
)

// TrustedHostProfileClient is a client for avi TrustedHostProfile resource
type TrustedHostProfileClient struct {
aviSession *session.AviSession
}

// NewTrustedHostProfileClient creates a new client for TrustedHostProfile resource
func NewTrustedHostProfileClient(aviSession *session.AviSession) *TrustedHostProfileClient {
return &TrustedHostProfileClient{aviSession: aviSession}
}

func (client *TrustedHostProfileClient) getAPIPath(uuid string) string {
path := "api/trustedhostprofile"
if uuid != "" {
path += "/" + uuid
}
return path
}

// GetAll is a collection API to get a list of TrustedHostProfile objects
func (client *TrustedHostProfileClient) GetAll(options ...session.ApiOptionsParams) ([]*models.TrustedHostProfile, error) {
var plist []*models.TrustedHostProfile
err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...)
return plist, err
}

// Get an existing TrustedHostProfile by uuid
func (client *TrustedHostProfileClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var obj *models.TrustedHostProfile
err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...)
return obj, err
}

// GetByName - Get an existing TrustedHostProfile by name
func (client *TrustedHostProfileClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var obj *models.TrustedHostProfile
err := client.aviSession.GetObjectByName("trustedhostprofile", name, &obj, options...)
return obj, err
}

// GetObject - Get an existing TrustedHostProfile by filters like name, cloud, tenant
// Api creates TrustedHostProfile object with every call.
func (client *TrustedHostProfileClient) GetObject(options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var obj *models.TrustedHostProfile
newOptions := make([]session.ApiOptionsParams, len(options)+1)
for i, p := range options {
newOptions[i] = p
}
newOptions[len(options)] = session.SetResult(&obj)
err := client.aviSession.GetObject("trustedhostprofile", newOptions...)
return obj, err
}

// Create a new TrustedHostProfile object
func (client *TrustedHostProfileClient) Create(obj *models.TrustedHostProfile, options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var robj *models.TrustedHostProfile
err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...)
return robj, err
}

// Update an existing TrustedHostProfile object
func (client *TrustedHostProfileClient) Update(obj *models.TrustedHostProfile, options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var robj *models.TrustedHostProfile
path := client.getAPIPath(*obj.UUID)
err := client.aviSession.Put(path, obj, &robj, options...)
return robj, err
}

// Patch an existing TrustedHostProfile object specified using uuid
// patchOp: Patch operation - add, replace, or delete
// patch: Patch payload should be compatible with the models.TrustedHostProfile
// or it should be json compatible of form map[string]interface{}
func (client *TrustedHostProfileClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.TrustedHostProfile, error) {
var robj *models.TrustedHostProfile
path := client.getAPIPath(uuid)
err := client.aviSession.Patch(path, patch, patchOp, &robj, options...)
return robj, err
}

// Delete an existing TrustedHostProfile object with a given UUID
func (client *TrustedHostProfileClient) Delete(uuid string, options ...session.ApiOptionsParams) error {
if len(options) == 0 {
return client.aviSession.Delete(client.getAPIPath(uuid))
} else {
return client.aviSession.DeleteObject(client.getAPIPath(uuid), options...)
}
}

// DeleteByName - Delete an existing TrustedHostProfile object with a given name
func (client *TrustedHostProfileClient) DeleteByName(name string, options ...session.ApiOptionsParams) error {
res, err := client.GetByName(name, options...)
if err != nil {
return err
}
return client.Delete(*res.UUID, options...)
}

// GetAviSession
func (client *TrustedHostProfileClient) GetAviSession() *session.AviSession {
return client.aviSession
}
2 changes: 1 addition & 1 deletion go/models/a_l_b_services_file_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ALBServicesFileDownload struct {
// Required: true
Name *string `json:"name"`

// Status of file download. Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO, SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN, SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_BAD_REQUEST.... Field introduced in 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.
// Status of file download. Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO, SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN, SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_FAILED.... Field introduced in 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.
// Read Only: true
Status *string `json:"status,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion go/models/a_l_b_services_file_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ALBServicesFileUpload struct {
// Custom AWS S3 Directory Path to upload file. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
S3Directory *string `json:"s3_directory,omitempty"`

// Status of file upload. Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO, SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN, SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_BAD_REQUEST.... Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
// Status of file upload. Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO, SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN, SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_FAILED.... Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
// Read Only: true
Status *string `json:"status,omitempty"`

Expand Down
16 changes: 16 additions & 0 deletions go/models/a_z_cluster.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models

// This file is auto-generated.

// AZCluster a z cluster
// swagger:model AZCluster
type AZCluster struct {

// Managed Object Id of clusters belongs to the AZ. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
ClusterIds []string `json:"cluster_ids,omitempty"`

// Vcenter Id of the clusters. It is a reference to an object of type VCenterServer. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
VcenterRef *string `json:"vcenter_ref,omitempty"`
}
16 changes: 16 additions & 0 deletions go/models/a_z_datastore.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models

// This file is auto-generated.

// AZDatastore a z datastore
// swagger:model AZDatastore
type AZDatastore struct {

// List of Managed object id of datastores. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
DsIds []string `json:"ds_ids,omitempty"`

// Include or exclude the datastores from the list. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Include *bool `json:"include,omitempty"`
}
2 changes: 1 addition & 1 deletion go/models/alert_object_list.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/anomaly_event_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type AnomalyEventDetails struct {
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
NodeID *string `json:"node_id,omitempty"`

// Enum options - METRICS_OBJ_TYPE_UNKNOWN, VSERVER_L4_SERVER, VSERVER_L4_CLIENT, VSERVER_L7_SERVER, VSERVER_L7_CLIENT, VM_METRICS_OBJ, SE_METRICS_OBJ, VSERVER_RUM, CONTROLLER_METRICS_OBJ, METRICS_COLLECTION, METRICS_RUM_PREAGG_BROWSER_OBJ, METRICS_RUM_PREAGG_COUNTRY_OBJ, METRICS_RUM_PREAGG_DEVTYPE_OBJ, METRICS_RUM_PREAGG_LANG_OBJ, METRICS_RUM_PREAGG_OS_OBJ, METRICS_RUM_PREAGG_URL_OBJ, METRICS_ANOMALY_OBJ, METRICS_HEALTHSCORE_OBJ, METRICS_RESOURCE_TIMING_BROWSER_OBJ, METRICS_RESOURCE_TIMING_OS_OBJ, METRICS_RESOURCE_TIMING_COUNTRY_OBJ, METRICS_RESOURCE_TIMING_LANG_OBJ, METRICS_RESOURCE_TIMING_DEVTYPE_OBJ, METRICS_RESOURCE_TIMING_URL_OBJ, METRICS_RESOURCE_TIMING_DIMENSION_OBJ, METRICS_RESOURCE_TIMING_BLOB_OBJ, METRICS_DOS_OBJ, METRICS_RUM_PREAGG_IPGROUP_OBJ, METRICS_APP_INSIGHTS_OBJ, METRICS_VSERVER_DNS_OBJ, METRICS_SERVER_DNS_OBJ, METRICS_SERVICE_INSIGHTS_OBJ, METRICS_SOURCE_INSIGHTS_OBJ, METRICS_TENANT_STATS_OBJ, METRICS_SE_IF_STATS_OBJ, METRICS_USER_METRICS_OBJ, METRICS_WAF_GROUP_OBJ, METRICS_WAF_RULE_OBJ, METRICS_WAF_TAG_OBJ, METRICS_PROCESS_STATS_OBJ, METRICS_VSERVER_HTTP2_CLIENT_OBJ, METRICS_WAF_WHITELIST_OBJ, METRICS_WAF_PSM_GROUP_OBJ, METRICS_WAF_PSMLOCATION_OBJ, METRICS_WAF_PSM_RULE_OBJ, METRICS_PG_STAT_DATABASE_OBJ, METRICS_PG_STAT_ALL_TABLES_OBJ, METRICS_PG_STAT_ALL_INDEXES_OBJ, METRICS_PG_STAT_IO_ALL_TABLES_OBJ, METRICS_PG_STAT_CLASS_OBJ, METRICS_PG_STAT_BG_WRITER_OBJ, METRICS_GSLB_STATS_OBJ, METRICS_VS_SCALEOUT_OBJ, METRICS_API_PERF_STATS_OBJ, METRICS_NSXT_STATS_OBJ, METRICS_ICAP_OBJ, METRICS_BOT_OBJ, METRICS_SEGROUP_OBJ, ENVOY_UPSTREAM_STATS_OBJ, ENVOY_DOWNSTREAM_STATS_OBJ, REDIS_QUEUE_STATS_OBJ. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Enum options - METRICS_OBJ_TYPE_UNKNOWN, VSERVER_L4_SERVER, VSERVER_L4_CLIENT, VSERVER_L7_SERVER, VSERVER_L7_CLIENT, VM_METRICS_OBJ, SE_METRICS_OBJ, VSERVER_RUM, CONTROLLER_METRICS_OBJ, METRICS_COLLECTION, METRICS_RUM_PREAGG_BROWSER_OBJ, METRICS_RUM_PREAGG_COUNTRY_OBJ, METRICS_RUM_PREAGG_DEVTYPE_OBJ, METRICS_RUM_PREAGG_LANG_OBJ, METRICS_RUM_PREAGG_OS_OBJ, METRICS_RUM_PREAGG_URL_OBJ, METRICS_ANOMALY_OBJ, METRICS_HEALTHSCORE_OBJ, METRICS_RESOURCE_TIMING_BROWSER_OBJ, METRICS_RESOURCE_TIMING_OS_OBJ, METRICS_RESOURCE_TIMING_COUNTRY_OBJ, METRICS_RESOURCE_TIMING_LANG_OBJ, METRICS_RESOURCE_TIMING_DEVTYPE_OBJ, METRICS_RESOURCE_TIMING_URL_OBJ, METRICS_RESOURCE_TIMING_DIMENSION_OBJ, METRICS_RESOURCE_TIMING_BLOB_OBJ, METRICS_DOS_OBJ, METRICS_RUM_PREAGG_IPGROUP_OBJ, METRICS_APP_INSIGHTS_OBJ, METRICS_VSERVER_DNS_OBJ, METRICS_SERVER_DNS_OBJ, METRICS_SERVICE_INSIGHTS_OBJ, METRICS_SOURCE_INSIGHTS_OBJ, METRICS_TENANT_STATS_OBJ, METRICS_SE_IF_STATS_OBJ, METRICS_USER_METRICS_OBJ, METRICS_WAF_GROUP_OBJ, METRICS_WAF_RULE_OBJ, METRICS_WAF_TAG_OBJ, METRICS_PROCESS_STATS_OBJ, METRICS_VSERVER_HTTP2_CLIENT_OBJ, METRICS_WAF_WHITELIST_OBJ, METRICS_WAF_PSM_GROUP_OBJ, METRICS_WAF_PSMLOCATION_OBJ, METRICS_WAF_PSM_RULE_OBJ, METRICS_PG_STAT_DATABASE_OBJ, METRICS_PG_STAT_ALL_TABLES_OBJ, METRICS_PG_STAT_ALL_INDEXES_OBJ, METRICS_PG_STAT_IO_ALL_TABLES_OBJ, METRICS_PG_STAT_CLASS_OBJ, METRICS_PG_STAT_BG_WRITER_OBJ, METRICS_GSLB_STATS_OBJ, METRICS_VS_SCALEOUT_OBJ, METRICS_API_PERF_STATS_OBJ, METRICS_NSXT_STATS_OBJ, METRICS_ICAP_OBJ, METRICS_BOT_OBJ, METRICS_SEGROUP_OBJ, ENVOY_UPSTREAM_STATS_OBJ, ENVOY_DOWNSTREAM_STATS_OBJ, REDIS_QUEUE_STATS_OBJ, METRICS_CSRF_OBJ, METRICS_PG_APP_CONN_STAT_OBJ, METRICS_GO_API_PERF_STATS_OBJ. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ObjType *string `json:"obj_type,omitempty"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Expand Down
2 changes: 1 addition & 1 deletion go/models/application_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ type ApplicationLog struct {
// Required: true
ServiceEngine *string `json:"service_engine"`

// Field set by datascript using avi.vs.set_session_id(). Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// If the HTTP Session module is enabled for the Virtual Service, this field will contain the session id created by the module. Later calls to the DataScript function avi.vs.set_session_id() overwrite the value of this field with the value supplied in the function call. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
SessionID *string `json:"session_id,omitempty"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Expand Down
5 changes: 4 additions & 1 deletion go/models/application_persistence_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ type ApplicationPersistenceProfile struct {
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Description *string `json:"description,omitempty"`

// Specifies the Diameter Persistence profile parameters. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
DiameterAppPersistenceProfile *DiameterAVPPersistenceProfile `json:"diameter_app_persistence_profile,omitempty"`

// Specifies the custom HTTP Header Persistence profile parameters. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
HdrPersistenceProfile *HdrPersistenceProfile `json:"hdr_persistence_profile,omitempty"`

Expand All @@ -40,7 +43,7 @@ type ApplicationPersistenceProfile struct {
// Required: true
Name *string `json:"name"`

// Method used to persist clients to the same server for a duration of time or a session. Enum options - PERSISTENCE_TYPE_CLIENT_IP_ADDRESS, PERSISTENCE_TYPE_HTTP_COOKIE, PERSISTENCE_TYPE_TLS, PERSISTENCE_TYPE_CLIENT_IPV6_ADDRESS, PERSISTENCE_TYPE_CUSTOM_HTTP_HEADER, PERSISTENCE_TYPE_APP_COOKIE, PERSISTENCE_TYPE_GSLB_SITE. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Basic edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Enterprise with Cloud Services edition.
// Method used to persist clients to the same server for a duration of time or a session. Enum options - PERSISTENCE_TYPE_CLIENT_IP_ADDRESS, PERSISTENCE_TYPE_HTTP_COOKIE, PERSISTENCE_TYPE_TLS, PERSISTENCE_TYPE_CLIENT_IPV6_ADDRESS, PERSISTENCE_TYPE_CUSTOM_HTTP_HEADER, PERSISTENCE_TYPE_APP_COOKIE, PERSISTENCE_TYPE_GSLB_SITE, PERSISTENCE_TYPE_APP_DIAMETER. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Basic edition(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE), Enterprise with Cloud Services edition.
// Required: true
PersistenceType *string `json:"persistence_type"`

Expand Down
5 changes: 4 additions & 1 deletion go/models/application_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ type ApplicationProfile struct {
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Description *string `json:"description,omitempty"`

// Specifies various Diameter service related controls for virtual service. Field introduced in 31.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
DiameterServiceProfile *DiameterServiceApplicationProfile `json:"diameter_service_profile,omitempty"`

// Specifies various DNS service related controls for virtual service. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
DNSServiceProfile *DNSServiceApplicationProfile `json:"dns_service_profile,omitempty"`

Expand Down Expand Up @@ -64,7 +67,7 @@ type ApplicationProfile struct {
// It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TenantRef *string `json:"tenant_ref,omitempty"`

// Specifies which application layer proxy is enabled for the virtual service. Enum options - APPLICATION_PROFILE_TYPE_L4, APPLICATION_PROFILE_TYPE_HTTP, APPLICATION_PROFILE_TYPE_SYSLOG, APPLICATION_PROFILE_TYPE_DNS, APPLICATION_PROFILE_TYPE_SSL, APPLICATION_PROFILE_TYPE_SIP. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- APPLICATION_PROFILE_TYPE_L4), Basic edition(Allowed values- APPLICATION_PROFILE_TYPE_L4,APPLICATION_PROFILE_TYPE_HTTP), Enterprise with Cloud Services edition.
// Specifies which application layer proxy is enabled for the virtual service. Enum options - APPLICATION_PROFILE_TYPE_L4, APPLICATION_PROFILE_TYPE_HTTP, APPLICATION_PROFILE_TYPE_SYSLOG, APPLICATION_PROFILE_TYPE_DNS, APPLICATION_PROFILE_TYPE_SSL, APPLICATION_PROFILE_TYPE_SIP, APPLICATION_PROFILE_TYPE_DIAMETER. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- APPLICATION_PROFILE_TYPE_L4), Basic edition(Allowed values- APPLICATION_PROFILE_TYPE_L4,APPLICATION_PROFILE_TYPE_HTTP), Enterprise with Cloud Services edition.
// Required: true
Type *string `json:"type"`

Expand Down
Loading