Skip to content

Commit

Permalink
Merge pull request #2875 from vmware/jenkins_sync_22.1.6_go
Browse files Browse the repository at this point in the history
Auto updated assets for go models and clients 22.1.6
  • Loading branch information
mkhachane authored Feb 8, 2024
2 parents 8f3c5c6 + 9cc83f3 commit cff1022
Show file tree
Hide file tree
Showing 286 changed files with 1,129 additions and 1,126 deletions.
2 changes: 1 addition & 1 deletion go/models/a_l_b_services_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type ALBServicesConfig struct {
OperationsConfig *OperationsConfig `json:"operations_config"`

// Time interval in minutes. Allowed values are 5-60. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
PollingInterval *uint32 `json:"polling_interval,omitempty"`
PollingInterval *int32 `json:"polling_interval,omitempty"`

// The FQDN or IP address of the customer portal. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Expand Down
2 changes: 1 addition & 1 deletion go/models/ab_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ type AbPool struct {
PoolRef *string `json:"pool_ref"`

// Ratio of traffic diverted to the B pool, for A/B testing. Allowed values are 0-100. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Ratio *uint32 `json:"ratio,omitempty"`
Ratio *int32 `json:"ratio,omitempty"`
}
4 changes: 2 additions & 2 deletions go/models/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ type Alert struct {
TenantRef *string `json:"tenant_ref,omitempty"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Threshold *uint32 `json:"threshold,omitempty"`
Threshold *int32 `json:"threshold,omitempty"`

// Number of times it was throttled. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ThrottleCount *uint32 `json:"throttle_count,omitempty"`
ThrottleCount *int32 `json:"throttle_count,omitempty"`

// Unix Timestamp of the last throttling in seconds. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Expand Down
8 changes: 4 additions & 4 deletions go/models/alert_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type AlertConfig struct {
Enabled *bool `json:"enabled,omitempty"`

// An alert is expired and deleted after the expiry time has elapsed. The original event triggering the alert remains in the event's log. Allowed values are 1-31536000. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ExpiryTime *uint32 `json:"expiry_time,omitempty"`
ExpiryTime *int32 `json:"expiry_time,omitempty"`

// Name of the alert configuration. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Expand All @@ -52,7 +52,7 @@ type AlertConfig struct {
Recommendation *string `json:"recommendation,omitempty"`

// Only if the Number of Events is reached or exceeded within the Time Window will an alert be generated. Allowed values are 1-31536000. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
RollingWindow *uint32 `json:"rolling_window,omitempty"`
RollingWindow *int32 `json:"rolling_window,omitempty"`

// Signifies system events or the type of client logsused in this alert configuration. Enum options - CONN_LOGS, APP_LOGS, EVENT_LOGS, METRICS. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Expand All @@ -65,10 +65,10 @@ type AlertConfig struct {
TenantRef *string `json:"tenant_ref,omitempty"`

// An alert is created only when the number of events meets or exceeds this number within the chosen time frame. Allowed values are 1-65536. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Threshold *uint32 `json:"threshold,omitempty"`
Threshold *int32 `json:"threshold,omitempty"`

// Alerts are suppressed (throttled) for this duration of time since the last alert was raised for this alert config. Allowed values are 0-31536000. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Throttle *uint32 `json:"throttle,omitempty"`
Throttle *int32 `json:"throttle,omitempty"`

// url
// Read Only: true
Expand Down
2 changes: 1 addition & 1 deletion go/models/alert_metric_threshold.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ type AlertMetricThreshold struct {
Comparator *string `json:"comparator"`

// Metric threshold for comparison. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Threshold *uint32 `json:"threshold,omitempty"`
Threshold *int32 `json:"threshold,omitempty"`
}
2 changes: 1 addition & 1 deletion go/models/alert_rule_metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package models
type AlertRuleMetric struct {

// Evaluation window for the Metrics. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Duration *uint32 `json:"duration,omitempty"`
Duration *int32 `json:"duration,omitempty"`

// Metric Id for the Alert. Eg. l4_client.avg_complete_conns. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
MetricID *string `json:"metric_id,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion go/models/alert_syslog_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type AlertSyslogServer struct {
SyslogServer *string `json:"syslog_server"`

// The destination Syslog server's service port. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
SyslogServerPort *uint32 `json:"syslog_server_port,omitempty"`
SyslogServerPort *int32 `json:"syslog_server_port,omitempty"`

// Enable TLS to the syslog server. Field introduced in 17.2.16, 18.2.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TLSEnable *bool `json:"tls_enable,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions go/models/all_se_upgrade_event_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ type AllSeUpgradeEventDetails struct {

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
NumSe *uint32 `json:"num_se"`
NumSe *int32 `json:"num_se"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
NumVs *uint32 `json:"num_vs,omitempty"`
NumVs *int32 `json:"num_vs,omitempty"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Request *SeUpgradeParams `json:"request,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions go/models/analytics_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ type AnalyticsPolicy struct {
MetricsRealtimeUpdate *MetricsRealTimeUpdate `json:"metrics_realtime_update,omitempty"`

// This setting limits the number of significant logs generated per second for this VS on each SE. Default is 10 logs per second. Set it to zero (0) to deactivate throttling. Field introduced in 17.1.3. Unit is PER_SECOND. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
SignificantLogThrottle *uint32 `json:"significant_log_throttle,omitempty"`
SignificantLogThrottle *int32 `json:"significant_log_throttle,omitempty"`

// This setting limits the total number of UDF logs generated per second for this VS on each SE. UDF logs are generated due to the configured client log filters or the rules with logging enabled. Default is 10 logs per second. Set it to zero (0) to deactivate throttling. Field introduced in 17.1.3. Unit is PER_SECOND. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UdfLogThrottle *uint32 `json:"udf_log_throttle,omitempty"`
UdfLogThrottle *int32 `json:"udf_log_throttle,omitempty"`
}
Loading

0 comments on commit cff1022

Please sign in to comment.