From b806af57936400b945e992b232efe45a8e7e0cf8 Mon Sep 17 00:00:00 2001 From: Parikshit Manur Date: Tue, 2 Feb 2021 11:19:19 +0530 Subject: [PATCH] Updating to latest avi Go SDK to bring in changes related to Enhanced Virtual Hosting introduced in 20.1.3 (#255) --- go.mod | 2 +- go.sum | 2 + .../avinetworks/sdk/go/clients/avi_client.go | 12 +- .../sdk/go/clients/cluster_client.go | 116 ------------- .../go/clients/controllerlicense_client.go | 116 ------------- .../go/clients/customerportalinfo_client.go | 128 -------------- .../sdk/go/clients/dynamicdnsrecord_client.go | 116 +++++++++++++ .../sdk/go/clients/jwtserverprofile_client.go | 116 +++++++++++++ .../go/clients/objectaccesspolicy_client.go | 116 ------------- .../sdk/go/clients/portalfileupload_client.go | 128 -------------- .../avinetworks/sdk/go/clients/user_client.go | 116 +++++++++++++ .../sdk/go/models/a_c_subject_info.go | 17 ++ .../sdk/go/models/a_c_user_identity.go | 17 ++ .../sdk/go/models/a_l_b_services_config.go | 6 + .../go/models/a_l_b_services_file_upload.go | 2 +- .../sdk/go/models/action_group_config.go | 4 +- .../sdk/go/models/alert_rule_metric.go | 2 +- .../sdk/go/models/alert_syslog_server.go | 2 +- .../sdk/go/models/analytics_policy.go | 7 +- .../sdk/go/models/analytics_profile.go | 162 ++++++++++-------- .../avinetworks/sdk/go/models/app_hdr.go | 2 +- .../sdk/go/models/application_log.go | 14 +- .../models/application_persistence_profile.go | 6 +- .../sdk/go/models/application_profile.go | 6 +- .../sdk/go/models/asset_contact_info.go | 15 -- .../go/models/audit_compliance_event_info.go | 33 ++++ .../sdk/go/models/auth_attribute_match.go | 2 +- .../sdk/go/models/auth_mapping_rule.go | 11 +- .../sdk/go/models/auth_match_attribute.go | 3 +- .../go/models/auth_match_group_membership.go | 3 +- .../avinetworks/sdk/go/models/auth_profile.go | 8 +- .../sdk/go/models/authentication_rule.go | 2 +- .../sdk/go/models/authn_rule_match.go | 15 ++ .../sdk/go/models/authorization_action.go | 2 +- .../sdk/go/models/authorization_match.go | 5 +- .../sdk/go/models/authorization_rule.go | 2 +- .../sdk/go/models/authz_rule_match.go | 15 ++ .../sdk/go/models/auto_scale_launch_config.go | 2 +- .../sdk/go/models/availability_zone.go | 2 +- .../sdk/go/models/avi_cloud_c_r_s_details.go | 21 --- .../avi_cloud_c_r_s_details_api_response.go | 17 -- .../sdk/go/models/avi_cloud_status_details.go | 18 -- .../sdk/go/models/azure_configuration.go | 2 +- .../sdk/go/models/backup_configuration.go | 8 +- .../avinetworks/sdk/go/models/bgp_profile.go | 8 +- .../sdk/go/models/burst_resource.go | 27 --- .../sdk/go/models/c_c_vnic_info.go | 2 +- .../models/certificate_management_profile.go | 9 +- .../avinetworks/sdk/go/models/cfg_state.go | 2 +- .../sdk/go/models/client_log_configuration.go | 2 +- .../avinetworks/sdk/go/models/cloud.go | 18 +- .../sdk/go/models/cloud_connector_user.go | 12 +- .../go/models/cloud_route_notif_details.go | 21 +++ .../avinetworks/sdk/go/models/cluster.go | 36 ---- .../go/models/config_user_authrz_by_rule.go | 3 + .../sdk/go/models/config_user_login.go | 3 + .../sdk/go/models/conn_pool_properties.go | 6 +- .../sdk/go/models/content_rewrite_profile.go | 6 +- .../sdk/go/models/controller_license.go | 73 -------- .../sdk/go/models/controller_limits.go | 2 +- .../sdk/go/models/controller_properties.go | 20 ++- .../sdk/go/models/cumulative_license.go | 30 ---- .../sdk/go/models/customer_portal_info.go | 27 --- .../customer_portal_info_api_response.go | 17 -- .../sdk/go/models/d_s_request_log.go | 66 +++++++ .../sdk/go/models/debug_dns_options.go | 4 +- .../sdk/go/models/debug_service_engine.go | 12 ++ .../sdk/go/models/debug_virtual_service.go | 3 + .../models/debug_virtual_service_obj_sync.go | 12 ++ .../sdk/go/models/dns_edns_option.go | 3 + .../avinetworks/sdk/go/models/dns_policy.go | 2 +- .../sdk/go/models/dns_query_name_match.go | 2 +- .../avinetworks/sdk/go/models/dns_record.go | 14 +- .../dns_rule_action_gslb_site_selection.go | 2 +- .../models/dns_service_application_profile.go | 6 +- .../sdk/go/models/dynamic_dns_record.go | 77 +++++++++ ....go => dynamic_dns_record_api_response.go} | 8 +- .../avinetworks/sdk/go/models/error_page.go | 2 +- .../sdk/go/models/error_page_body.go | 2 +- .../sdk/go/models/error_page_profile.go | 2 +- .../sdk/go/models/event_details.go | 18 ++ .../avinetworks/sdk/go/models/event_log.go | 2 +- .../avinetworks/sdk/go/models/fail_action.go | 2 +- .../avinetworks/sdk/go/models/file_object.go | 2 +- .../sdk/go/models/flowtable_profile.go | 3 + .../sdk/go/models/full_client_logs.go | 4 +- .../sdk/go/models/g_c_p_configuration.go | 9 +- .../sdk/go/models/g_c_p_encryption_keys.go | 21 +++ .../sdk/go/models/g_c_p_se_group_config.go | 15 ++ .../sdk/go/models/g_c_p_v_ip_allocation.go | 6 +- .../sdk/go/models/g_c_p_v_ip_i_l_b.go | 2 +- .../sdk/go/models/g_c_p_v_ip_routes.go | 2 +- .../avinetworks/sdk/go/models/gslb.go | 2 +- .../sdk/go/models/gslb_geo_db_profile.go | 4 +- .../avinetworks/sdk/go/models/gslb_pool.go | 2 +- .../avinetworks/sdk/go/models/gslb_service.go | 8 +- .../avinetworks/sdk/go/models/gslb_site.go | 2 +- .../models/hardware_security_module_group.go | 2 +- .../sdk/go/models/health_monitor.go | 14 +- .../sdk/go/models/health_monitor_http.go | 6 +- .../sdk/go/models/health_monitor_tcp.go | 2 +- .../sdk/go/models/http_application_profile.go | 61 +++---- .../sdk/go/models/http_cache_config.go | 14 +- .../sdk/go/models/http_hdr_action.go | 2 +- .../sdk/go/models/http_policy_set.go | 4 +- .../sdk/go/models/http_version_match.go | 2 +- .../sdk/go/models/httpsecurity_action.go | 4 +- .../sdk/go/models/httpserver_reselect.go | 2 +- .../sdk/go/models/httpswitching_action.go | 2 +- .../avinetworks/sdk/go/models/icap_profile.go | 7 +- .../sdk/go/models/icap_request_log.go | 13 +- .../sdk/go/models/icap_violation.go | 18 ++ .../avinetworks/sdk/go/models/image.go | 2 +- .../sdk/go/models/ip_a_m_dns_aws_profile.go | 2 +- .../sdk/go/models/ip_a_m_dns_azure_profile.go | 6 +- .../go/models/ip_a_m_dns_internal_profile.go | 7 +- .../go/models/ip_a_m_dns_provider_profile.go | 4 +- .../sdk/go/models/ip_a_m_usable_network.go | 16 ++ .../sdk/go/models/ip_addr_group.go | 2 +- .../avinetworks/sdk/go/models/ip_community.go | 2 +- .../sdk/go/models/ip_network_subnet.go | 4 +- .../sdk/go/models/ip_persistence_profile.go | 2 +- .../sdk/go/models/ip_reputation_config.go | 2 +- .../sdk/go/models/ip_reputation_d_b.go | 4 +- .../sdk/go/models/ip_reputation_type_match.go | 2 +- .../sdk/go/models/j_w_t_claim_match.go | 34 ++++ .../avinetworks/sdk/go/models/j_w_t_match.go | 15 ++ .../sdk/go/models/j_w_t_server_profile.go | 35 ++++ ...o => j_w_t_server_profile_api_response.go} | 8 +- .../go/models/j_w_t_validation_vs_config.go | 20 +++ .../avinetworks/sdk/go/models/jwt_log.go | 21 +++ .../sdk/go/models/key_value_tuple.go | 16 ++ .../sdk/go/models/l4_policy_set.go | 2 +- .../go/models/l4_rule_action_select_pool.go | 4 +- .../sdk/go/models/l4_rule_match_target.go | 4 +- .../sdk/go/models/ldap_auth_settings.go | 2 +- .../sdk/go/models/learning_log_policy.go | 18 ++ .../avinetworks/sdk/go/models/license_info.go | 2 +- .../go/models/license_tier_switch_detiails.go | 21 +++ .../sdk/go/models/license_tier_usage.go | 2 +- .../sdk/go/models/log_agent_event_detail.go | 20 +++ .../log_agent_tcp_client_event_detail.go | 21 +++ .../avinetworks/sdk/go/models/match_target.go | 2 +- .../avinetworks/sdk/go/models/method_match.go | 2 +- .../sdk/go/models/metrics_event_threshold.go | 19 ++ .../sdk/go/models/metrics_real_time_update.go | 2 +- .../avinetworks/sdk/go/models/nat_policy.go | 2 +- .../sdk/go/models/network_profile.go | 2 +- .../sdk/go/models/network_profile_union.go | 4 +- .../sdk/go/models/network_runtime.go | 5 +- .../models/network_security_match_target.go | 5 +- .../sdk/go/models/network_security_policy.go | 4 +- .../sdk/go/models/network_security_rule.go | 6 +- .../sdk/go/models/network_service.go | 2 +- .../sdk/go/models/network_subnet_info.go | 3 + .../sdk/go/models/nsxt_configuration.go | 2 +- .../sdk/go/models/nsxt_datastores.go | 15 ++ .../nsxt_tier1_segment_automatic_mode.go | 2 +- .../go/models/nsxt_tier1_segment_config.go | 4 +- .../models/nsxt_tier1_segment_manual_mode.go | 2 +- .../avinetworks/sdk/go/models/ntlm_log.go | 15 ++ .../sdk/go/models/obj_sync_config.go | 18 ++ .../go/models/object_access_match_target.go | 17 -- .../sdk/go/models/object_access_policy.go | 31 ---- .../go/models/object_access_policy_rule.go | 22 --- .../sdk/go/models/out_of_band_request_log.go | 12 ++ .../avinetworks/sdk/go/models/p_k_iprofile.go | 6 +- .../avinetworks/sdk/go/models/path_match.go | 2 +- .../sdk/go/models/ping_access_agent.go | 2 +- .../sdk/go/models/placement_scope_config.go | 3 + .../avinetworks/sdk/go/models/pool.go | 39 +++-- .../avinetworks/sdk/go/models/pool_group.go | 6 +- .../go/models/pool_group_deployment_policy.go | 2 +- .../sdk/go/models/pool_group_member.go | 2 +- .../avinetworks/sdk/go/models/port_match.go | 2 +- .../sdk/go/models/port_match_generic.go | 19 ++ .../sdk/go/models/portal_configuration.go | 5 +- .../sdk/go/models/portal_feature_opt_in.go | 10 +- .../sdk/go/models/portal_file_upload.go | 43 ----- .../models/portal_file_upload_api_response.go | 17 -- .../sdk/go/models/priority_labels.go | 2 +- .../go/models/proactive_support_defaults.go | 4 +- .../sdk/go/models/protocol_parser.go | 2 +- .../go/models/rm_spawn_se_event_details.go | 3 + .../avinetworks/sdk/go/models/role.go | 2 +- .../avinetworks/sdk/go/models/role_filter.go | 8 +- .../sdk/go/models/role_filter_match_label.go | 4 +- .../sdk/go/models/routing_service.go | 4 +- .../sdk/go/models/s_e_bandwidth_limit.go | 15 -- .../sdk/go/models/s_s_l_cipher_list.go | 4 +- .../go/models/s_s_l_key_and_certificate.go | 14 +- .../sdk/go/models/s_s_l_profile.go | 10 +- .../sdk/go/models/s_s_l_version.go | 2 +- .../avinetworks/sdk/go/models/s_s_o_policy.go | 4 +- .../avinetworks/sdk/go/models/scale_status.go | 2 +- .../sdk/go/models/se_bootup_properties.go | 8 +- .../go/models/se_group_analytics_policy.go | 12 ++ .../go/models/se_hm_event_server_details.go | 3 + .../avinetworks/sdk/go/models/se_list.go | 6 + .../sdk/go/models/se_mgr_event_details.go | 12 ++ .../sdk/go/models/se_runtime_properties.go | 28 +-- .../se_vs_pkt_buf_high_event_details.go | 18 ++ .../go/models/secure_channel_configuration.go | 2 +- .../sdk/go/models/secure_channel_mapping.go | 3 + .../go/models/secure_key_exchange_details.go | 39 +++++ .../sdk/go/models/security_policy.go | 2 +- .../avinetworks/sdk/go/models/selector.go | 16 ++ .../sdk/go/models/sensitive_field_rule.go | 2 +- .../avinetworks/sdk/go/models/server.go | 6 +- .../models/server_auto_scale_failed_info.go | 2 +- .../server_auto_scale_in_complete_info.go | 2 +- .../go/models/server_auto_scale_in_info.go | 2 +- .../server_auto_scale_out_complete_info.go | 2 +- .../go/models/server_auto_scale_out_info.go | 2 +- .../sdk/go/models/server_auto_scale_policy.go | 5 +- .../avinetworks/sdk/go/models/service.go | 4 +- .../sdk/go/models/service_engine_group.go | 128 ++++++++++---- .../sdk/go/models/service_match.go | 2 +- .../sdk/go/models/single_license.go | 78 --------- .../sdk/go/models/static_ip_alloc_info.go | 19 ++ .../sdk/go/models/static_ip_range.go | 16 ++ .../sdk/go/models/static_ip_range_runtime.go | 21 +++ .../avinetworks/sdk/go/models/static_route.go | 2 +- .../avinetworks/sdk/go/models/string_group.go | 2 +- .../avinetworks/sdk/go/models/string_match.go | 2 +- .../avinetworks/sdk/go/models/sub_job.go | 2 +- .../avinetworks/sdk/go/models/subnet.go | 7 +- .../sdk/go/models/subnet_runtime.go | 11 +- .../sdk/go/models/supported_migrations.go | 18 ++ .../sdk/go/models/system_configuration.go | 8 +- .../go/models/tacacs_plus_auth_settings.go | 2 +- .../sdk/go/models/tcp_application_profile.go | 8 +- .../sdk/go/models/tcp_fast_path_profile.go | 4 +- .../sdk/go/models/tcp_proxy_profile.go | 2 +- .../avinetworks/sdk/go/models/tenant.go | 2 +- .../avinetworks/sdk/go/models/tenant_label.go | 4 +- .../sdk/go/models/traffic_clone_profile.go | 4 +- .../sdk/go/models/udp_fast_path_profile.go | 4 +- .../sdk/go/models/upgrade_ops_state.go | 5 +- .../avinetworks/sdk/go/models/uri_param.go | 2 +- .../avinetworks/sdk/go/models/user.go | 51 ++++++ ...r_api_response.go => user_api_response.go} | 8 +- .../avinetworks/sdk/go/models/user_role.go | 21 +++ .../avinetworks/sdk/go/models/v_h_match.go | 16 ++ .../sdk/go/models/v_i_fault_injection.go | 2 +- .../sdk/go/models/v_s_data_script.go | 2 +- .../sdk/go/models/v_s_data_script_set.go | 9 +- .../avinetworks/sdk/go/models/vip.go | 26 +-- .../sdk/go/models/vip_se_assigned.go | 6 + .../sdk/go/models/virtual_service.go | 73 ++++---- .../avinetworks/sdk/go/models/vrf_context.go | 9 +- .../avinetworks/sdk/go/models/vs_vip.go | 11 +- .../sdk/go/models/vserver_l4_metrics_obj.go | 6 + .../sdk/go/models/waf_allowlist_log.go | 15 ++ .../waf_application_signature_app_version.go | 4 + .../waf_application_signature_provider.go | 9 +- .../go/models/waf_application_signatures.go | 2 +- .../avinetworks/sdk/go/models/waf_c_r_s.go | 2 +- .../avinetworks/sdk/go/models/waf_config.go | 16 +- .../avinetworks/sdk/go/models/waf_log.go | 32 +++- .../sdk/go/models/waf_p_s_m_location.go | 2 +- .../sdk/go/models/waf_p_s_m_rule.go | 9 +- .../avinetworks/sdk/go/models/waf_policy.go | 7 +- .../sdk/go/models/waf_policy_allowlist.go | 12 ++ .../go/models/waf_policy_allowlist_rule.go | 33 ++++ .../sdk/go/models/waf_policy_p_s_m_group.go | 4 +- .../sdk/go/models/waf_policy_whitelist.go | 2 +- .../go/models/waf_policy_whitelist_rule.go | 14 +- .../go/models/waf_positive_security_model.go | 2 +- .../avinetworks/sdk/go/models/waf_profile.go | 4 +- .../avinetworks/sdk/go/models/waf_rule.go | 4 +- .../sdk/go/models/waf_rule_group.go | 4 +- .../sdk/go/models/waf_whitelist_log.go | 4 +- ...eb_application_signature_service_status.go | 15 ++ vendor/modules.txt | 2 +- 275 files changed, 2228 insertions(+), 1674 deletions(-) delete mode 100644 vendor/github.com/avinetworks/sdk/go/clients/cluster_client.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/clients/controllerlicense_client.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/clients/customerportalinfo_client.go create mode 100644 vendor/github.com/avinetworks/sdk/go/clients/dynamicdnsrecord_client.go create mode 100644 vendor/github.com/avinetworks/sdk/go/clients/jwtserverprofile_client.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/clients/objectaccesspolicy_client.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/clients/portalfileupload_client.go create mode 100644 vendor/github.com/avinetworks/sdk/go/clients/user_client.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/a_c_subject_info.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/a_c_user_identity.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/asset_contact_info.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/audit_compliance_event_info.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/authn_rule_match.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/authz_rule_match.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details_api_response.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/avi_cloud_status_details.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/burst_resource.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/cloud_route_notif_details.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/cluster.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/controller_license.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/cumulative_license.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/customer_portal_info.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/customer_portal_info_api_response.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/d_s_request_log.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service_obj_sync.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record.go rename vendor/github.com/avinetworks/sdk/go/models/{controller_license_api_response.go => dynamic_dns_record_api_response.go} (55%) create mode 100644 vendor/github.com/avinetworks/sdk/go/models/g_c_p_encryption_keys.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/g_c_p_se_group_config.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/icap_violation.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/ip_a_m_usable_network.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/j_w_t_claim_match.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/j_w_t_match.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile.go rename vendor/github.com/avinetworks/sdk/go/models/{object_access_policy_api_response.go => j_w_t_server_profile_api_response.go} (54%) create mode 100644 vendor/github.com/avinetworks/sdk/go/models/j_w_t_validation_vs_config.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/jwt_log.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/key_value_tuple.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/learning_log_policy.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/license_tier_switch_detiails.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/log_agent_event_detail.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/log_agent_tcp_client_event_detail.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/metrics_event_threshold.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/nsxt_datastores.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/ntlm_log.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/obj_sync_config.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/object_access_match_target.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/object_access_policy.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/object_access_policy_rule.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/out_of_band_request_log.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/port_match_generic.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/portal_file_upload.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/portal_file_upload_api_response.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/s_e_bandwidth_limit.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/se_group_analytics_policy.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/se_vs_pkt_buf_high_event_details.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/secure_key_exchange_details.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/selector.go delete mode 100644 vendor/github.com/avinetworks/sdk/go/models/single_license.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/static_ip_alloc_info.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/static_ip_range.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/static_ip_range_runtime.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/user.go rename vendor/github.com/avinetworks/sdk/go/models/{cluster_api_response.go => user_api_response.go} (61%) create mode 100644 vendor/github.com/avinetworks/sdk/go/models/user_role.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/v_h_match.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/waf_allowlist_log.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist_rule.go create mode 100644 vendor/github.com/avinetworks/sdk/go/models/web_application_signature_service_status.go diff --git a/go.mod b/go.mod index d04c3ddc3..e2042848c 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/vmware/load-balancer-and-ingress-services-for-kubernetes require ( github.com/Masterminds/semver v1.5.0 - github.com/avinetworks/sdk v0.0.0-20200910070359-d9ffda19a7dd + github.com/avinetworks/sdk v0.0.0-20210127001121-7d79efee089b github.com/davecgh/go-spew v1.1.1 github.com/go-logr/logr v0.3.0 github.com/go-logr/zapr v0.3.0 // indirect diff --git a/go.sum b/go.sum index f09e80da6..82cab72ef 100644 --- a/go.sum +++ b/go.sum @@ -83,6 +83,8 @@ github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:l github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/avinetworks/sdk v0.0.0-20200910070359-d9ffda19a7dd h1:W+4xqQczmklVpG+JQlY9nBQaSbhbv3MvGaFLX6UvNrY= github.com/avinetworks/sdk v0.0.0-20200910070359-d9ffda19a7dd/go.mod h1:BcllDeAFx8PtaMrPxvvuCUo7NRS2x6w+3W17WFDu0sk= +github.com/avinetworks/sdk v0.0.0-20210127001121-7d79efee089b h1:ievsADqmlDWamfKV4xFwwSi1DfL5sUB9ka8PASomF10= +github.com/avinetworks/sdk v0.0.0-20210127001121-7d79efee089b/go.mod h1:BcllDeAFx8PtaMrPxvvuCUo7NRS2x6w+3W17WFDu0sk= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= diff --git a/vendor/github.com/avinetworks/sdk/go/clients/avi_client.go b/vendor/github.com/avinetworks/sdk/go/clients/avi_client.go index f1fc9b488..90043d6bc 100644 --- a/vendor/github.com/avinetworks/sdk/go/clients/avi_client.go +++ b/vendor/github.com/avinetworks/sdk/go/clients/avi_client.go @@ -37,9 +37,7 @@ type AviClient struct { CloudConnectorUser *CloudConnectorUserClient CloudProperties *CloudPropertiesClient CloudRuntime *CloudRuntimeClient - Cluster *ClusterClient ClusterCloudDetails *ClusterCloudDetailsClient - ControllerLicense *ControllerLicenseClient ControllerPortalRegistration *ControllerPortalRegistrationClient ControllerProperties *ControllerPropertiesClient ControllerSite *ControllerSiteClient @@ -48,6 +46,7 @@ type AviClient struct { DebugController *DebugControllerClient DebugServiceEngine *DebugServiceEngineClient DebugVirtualService *DebugVirtualServiceClient + DynamicDNSRecord *DynamicDNSRecordClient ErrorPageBody *ErrorPageBodyClient ErrorPageProfile *ErrorPageProfileClient FederationCheckpoint *FederationCheckpointClient @@ -63,6 +62,7 @@ type AviClient struct { IPReputationDB *IPReputationDBClient IcapProfile *IcapProfileClient Image *ImageClient + JWTServerProfile *JWTServerProfileClient JobEntry *JobEntryClient L4PolicySet *L4PolicySetClient LicenseLedgerDetails *LicenseLedgerDetailsClient @@ -76,7 +76,6 @@ type AviClient struct { NetworkSecurityPolicy *NetworkSecurityPolicyClient NetworkService *NetworkServiceClient NsxtSegmentRuntime *NsxtSegmentRuntimeClient - ObjectAccessPolicy *ObjectAccessPolicyClient PKIprofile *PKIprofileClient PingAccessAgent *PingAccessAgentClient Pool *PoolClient @@ -112,6 +111,7 @@ type AviClient struct { TrafficCloneProfile *TrafficCloneProfileClient UpgradeStatusInfo *UpgradeStatusInfoClient UpgradeStatusSummary *UpgradeStatusSummaryClient + User *UserClient UserAccountProfile *UserAccountProfileClient UserActivity *UserActivityClient VCenterServer *VCenterServerClient @@ -169,9 +169,7 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess aviClient.CloudConnectorUser = NewCloudConnectorUserClient(aviSession) aviClient.CloudProperties = NewCloudPropertiesClient(aviSession) aviClient.CloudRuntime = NewCloudRuntimeClient(aviSession) - aviClient.Cluster = NewClusterClient(aviSession) aviClient.ClusterCloudDetails = NewClusterCloudDetailsClient(aviSession) - aviClient.ControllerLicense = NewControllerLicenseClient(aviSession) aviClient.ControllerPortalRegistration = NewControllerPortalRegistrationClient(aviSession) aviClient.ControllerProperties = NewControllerPropertiesClient(aviSession) aviClient.ControllerSite = NewControllerSiteClient(aviSession) @@ -180,6 +178,7 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess aviClient.DebugController = NewDebugControllerClient(aviSession) aviClient.DebugServiceEngine = NewDebugServiceEngineClient(aviSession) aviClient.DebugVirtualService = NewDebugVirtualServiceClient(aviSession) + aviClient.DynamicDNSRecord = NewDynamicDNSRecordClient(aviSession) aviClient.ErrorPageBody = NewErrorPageBodyClient(aviSession) aviClient.ErrorPageProfile = NewErrorPageProfileClient(aviSession) aviClient.FederationCheckpoint = NewFederationCheckpointClient(aviSession) @@ -195,6 +194,7 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess aviClient.IPReputationDB = NewIPReputationDBClient(aviSession) aviClient.IcapProfile = NewIcapProfileClient(aviSession) aviClient.Image = NewImageClient(aviSession) + aviClient.JWTServerProfile = NewJWTServerProfileClient(aviSession) aviClient.JobEntry = NewJobEntryClient(aviSession) aviClient.L4PolicySet = NewL4PolicySetClient(aviSession) aviClient.LicenseLedgerDetails = NewLicenseLedgerDetailsClient(aviSession) @@ -208,7 +208,6 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess aviClient.NetworkSecurityPolicy = NewNetworkSecurityPolicyClient(aviSession) aviClient.NetworkService = NewNetworkServiceClient(aviSession) aviClient.NsxtSegmentRuntime = NewNsxtSegmentRuntimeClient(aviSession) - aviClient.ObjectAccessPolicy = NewObjectAccessPolicyClient(aviSession) aviClient.PKIprofile = NewPKIprofileClient(aviSession) aviClient.PingAccessAgent = NewPingAccessAgentClient(aviSession) aviClient.Pool = NewPoolClient(aviSession) @@ -244,6 +243,7 @@ func NewAviClient(host string, username string, options ...func(*session.AviSess aviClient.TrafficCloneProfile = NewTrafficCloneProfileClient(aviSession) aviClient.UpgradeStatusInfo = NewUpgradeStatusInfoClient(aviSession) aviClient.UpgradeStatusSummary = NewUpgradeStatusSummaryClient(aviSession) + aviClient.User = NewUserClient(aviSession) aviClient.UserAccountProfile = NewUserAccountProfileClient(aviSession) aviClient.UserActivity = NewUserActivityClient(aviSession) aviClient.VCenterServer = NewVCenterServerClient(aviSession) diff --git a/vendor/github.com/avinetworks/sdk/go/clients/cluster_client.go b/vendor/github.com/avinetworks/sdk/go/clients/cluster_client.go deleted file mode 100644 index fcd222fad..000000000 --- a/vendor/github.com/avinetworks/sdk/go/clients/cluster_client.go +++ /dev/null @@ -1,116 +0,0 @@ -/*************************************************************************** - * ------------------------------------------------------------------------ - * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential - * ------------------------------------------------------------------------ - */ - -package clients - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -import ( - "github.com/avinetworks/sdk/go/models" - "github.com/avinetworks/sdk/go/session" -) - -// ClusterClient is a client for avi Cluster resource -type ClusterClient struct { - aviSession *session.AviSession -} - -// NewClusterClient creates a new client for Cluster resource -func NewClusterClient(aviSession *session.AviSession) *ClusterClient { - return &ClusterClient{aviSession: aviSession} -} - -func (client *ClusterClient) getAPIPath(uuid string) string { - path := "api/cluster" - if uuid != "" { - path += "/" + uuid - } - return path -} - -// GetAll is a collection API to get a list of Cluster objects -func (client *ClusterClient) GetAll(options ...session.ApiOptionsParams) ([]*models.Cluster, error) { - var plist []*models.Cluster - err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) - return plist, err -} - -// Get an existing Cluster by uuid -func (client *ClusterClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.Cluster, error) { - var obj *models.Cluster - err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) - return obj, err -} - -// GetByName - Get an existing Cluster by name -func (client *ClusterClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.Cluster, error) { - var obj *models.Cluster - err := client.aviSession.GetObjectByName("cluster", name, &obj, options...) - return obj, err -} - -// GetObject - Get an existing Cluster by filters like name, cloud, tenant -// Api creates Cluster object with every call. -func (client *ClusterClient) GetObject(options ...session.ApiOptionsParams) (*models.Cluster, error) { - var obj *models.Cluster - 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("cluster", newOptions...) - return obj, err -} - -// Create a new Cluster object -func (client *ClusterClient) Create(obj *models.Cluster, options ...session.ApiOptionsParams) (*models.Cluster, error) { - var robj *models.Cluster - err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) - return robj, err -} - -// Update an existing Cluster object -func (client *ClusterClient) Update(obj *models.Cluster, options ...session.ApiOptionsParams) (*models.Cluster, error) { - var robj *models.Cluster - path := client.getAPIPath(*obj.UUID) - err := client.aviSession.Put(path, obj, &robj, options...) - return robj, err -} - -// Patch an existing Cluster object specified using uuid -// patchOp: Patch operation - add, replace, or delete -// patch: Patch payload should be compatible with the models.Cluster -// or it should be json compatible of form map[string]interface{} -func (client *ClusterClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.Cluster, error) { - var robj *models.Cluster - path := client.getAPIPath(uuid) - err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) - return robj, err -} - -// Delete an existing Cluster object with a given UUID -func (client *ClusterClient) 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 Cluster object with a given name -func (client *ClusterClient) 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 *ClusterClient) GetAviSession() *session.AviSession { - return client.aviSession -} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/controllerlicense_client.go b/vendor/github.com/avinetworks/sdk/go/clients/controllerlicense_client.go deleted file mode 100644 index 2ee045ccc..000000000 --- a/vendor/github.com/avinetworks/sdk/go/clients/controllerlicense_client.go +++ /dev/null @@ -1,116 +0,0 @@ -/*************************************************************************** - * ------------------------------------------------------------------------ - * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential - * ------------------------------------------------------------------------ - */ - -package clients - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -import ( - "github.com/avinetworks/sdk/go/models" - "github.com/avinetworks/sdk/go/session" -) - -// ControllerLicenseClient is a client for avi ControllerLicense resource -type ControllerLicenseClient struct { - aviSession *session.AviSession -} - -// NewControllerLicenseClient creates a new client for ControllerLicense resource -func NewControllerLicenseClient(aviSession *session.AviSession) *ControllerLicenseClient { - return &ControllerLicenseClient{aviSession: aviSession} -} - -func (client *ControllerLicenseClient) getAPIPath(uuid string) string { - path := "api/controllerlicense" - if uuid != "" { - path += "/" + uuid - } - return path -} - -// GetAll is a collection API to get a list of ControllerLicense objects -func (client *ControllerLicenseClient) GetAll(options ...session.ApiOptionsParams) ([]*models.ControllerLicense, error) { - var plist []*models.ControllerLicense - err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) - return plist, err -} - -// Get an existing ControllerLicense by uuid -func (client *ControllerLicenseClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var obj *models.ControllerLicense - err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) - return obj, err -} - -// GetByName - Get an existing ControllerLicense by name -func (client *ControllerLicenseClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var obj *models.ControllerLicense - err := client.aviSession.GetObjectByName("controllerlicense", name, &obj, options...) - return obj, err -} - -// GetObject - Get an existing ControllerLicense by filters like name, cloud, tenant -// Api creates ControllerLicense object with every call. -func (client *ControllerLicenseClient) GetObject(options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var obj *models.ControllerLicense - 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("controllerlicense", newOptions...) - return obj, err -} - -// Create a new ControllerLicense object -func (client *ControllerLicenseClient) Create(obj *models.ControllerLicense, options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var robj *models.ControllerLicense - err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) - return robj, err -} - -// Update an existing ControllerLicense object -func (client *ControllerLicenseClient) Update(obj *models.ControllerLicense, options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var robj *models.ControllerLicense - path := client.getAPIPath(*obj.UUID) - err := client.aviSession.Put(path, obj, &robj, options...) - return robj, err -} - -// Patch an existing ControllerLicense object specified using uuid -// patchOp: Patch operation - add, replace, or delete -// patch: Patch payload should be compatible with the models.ControllerLicense -// or it should be json compatible of form map[string]interface{} -func (client *ControllerLicenseClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.ControllerLicense, error) { - var robj *models.ControllerLicense - path := client.getAPIPath(uuid) - err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) - return robj, err -} - -// Delete an existing ControllerLicense object with a given UUID -func (client *ControllerLicenseClient) 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 ControllerLicense object with a given name -func (client *ControllerLicenseClient) 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 *ControllerLicenseClient) GetAviSession() *session.AviSession { - return client.aviSession -} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/customerportalinfo_client.go b/vendor/github.com/avinetworks/sdk/go/clients/customerportalinfo_client.go deleted file mode 100644 index bedc246f3..000000000 --- a/vendor/github.com/avinetworks/sdk/go/clients/customerportalinfo_client.go +++ /dev/null @@ -1,128 +0,0 @@ -/*************************************************************************** - * - * AVI CONFIDENTIAL - * __________________ - * - * [2013] - [2018] Avi Networks Incorporated - * All Rights Reserved. - * - * NOTICE: All information contained herein is, and remains the property - * of Avi Networks Incorporated and its suppliers, if any. The intellectual - * and technical concepts contained herein are proprietary to Avi Networks - * Incorporated, and its suppliers and are covered by U.S. and Foreign - * Patents, patents in process, and are protected by trade secret or - * copyright law, and other laws. Dissemination of this information or - * reproduction of this material is strictly forbidden unless prior written - * permission is obtained from Avi Networks Incorporated. - */ - -package clients - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -import ( - "github.com/avinetworks/sdk/go/models" - "github.com/avinetworks/sdk/go/session" -) - -// CustomerPortalInfoClient is a client for avi CustomerPortalInfo resource -type CustomerPortalInfoClient struct { - aviSession *session.AviSession -} - -// NewCustomerPortalInfoClient creates a new client for CustomerPortalInfo resource -func NewCustomerPortalInfoClient(aviSession *session.AviSession) *CustomerPortalInfoClient { - return &CustomerPortalInfoClient{aviSession: aviSession} -} - -func (client *CustomerPortalInfoClient) getAPIPath(uuid string) string { - path := "api/customerportalinfo" - if uuid != "" { - path += "/" + uuid - } - return path -} - -// GetAll is a collection API to get a list of CustomerPortalInfo objects -func (client *CustomerPortalInfoClient) GetAll(options ...session.ApiOptionsParams) ([]*models.CustomerPortalInfo, error) { - var plist []*models.CustomerPortalInfo - err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) - return plist, err -} - -// Get an existing CustomerPortalInfo by uuid -func (client *CustomerPortalInfoClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var obj *models.CustomerPortalInfo - err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) - return obj, err -} - -// GetByName - Get an existing CustomerPortalInfo by name -func (client *CustomerPortalInfoClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var obj *models.CustomerPortalInfo - err := client.aviSession.GetObjectByName("customerportalinfo", name, &obj, options...) - return obj, err -} - -// GetObject - Get an existing CustomerPortalInfo by filters like name, cloud, tenant -// Api creates CustomerPortalInfo object with every call. -func (client *CustomerPortalInfoClient) GetObject(options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var obj *models.CustomerPortalInfo - 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("customerportalinfo", newOptions...) - return obj, err -} - -// Create a new CustomerPortalInfo object -func (client *CustomerPortalInfoClient) Create(obj *models.CustomerPortalInfo, options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var robj *models.CustomerPortalInfo - err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) - return robj, err -} - -// Update an existing CustomerPortalInfo object -func (client *CustomerPortalInfoClient) Update(obj *models.CustomerPortalInfo, options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var robj *models.CustomerPortalInfo - path := client.getAPIPath(*obj.UUID) - err := client.aviSession.Put(path, obj, &robj, options...) - return robj, err -} - -// Patch an existing CustomerPortalInfo object specified using uuid -// patchOp: Patch operation - add, replace, or delete -// patch: Patch payload should be compatible with the models.CustomerPortalInfo -// or it should be json compatible of form map[string]interface{} -func (client *CustomerPortalInfoClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.CustomerPortalInfo, error) { - var robj *models.CustomerPortalInfo - path := client.getAPIPath(uuid) - err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) - return robj, err -} - -// Delete an existing CustomerPortalInfo object with a given UUID -func (client *CustomerPortalInfoClient) 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 CustomerPortalInfo object with a given name -func (client *CustomerPortalInfoClient) 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 *CustomerPortalInfoClient) GetAviSession() *session.AviSession { - return client.aviSession -} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/dynamicdnsrecord_client.go b/vendor/github.com/avinetworks/sdk/go/clients/dynamicdnsrecord_client.go new file mode 100644 index 000000000..5d824c438 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/clients/dynamicdnsrecord_client.go @@ -0,0 +1,116 @@ +/*************************************************************************** + * ------------------------------------------------------------------------ + * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential + * ------------------------------------------------------------------------ + */ + +package clients + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +import ( + "github.com/avinetworks/sdk/go/models" + "github.com/avinetworks/sdk/go/session" +) + +// DynamicDNSRecordClient is a client for avi DynamicDNSRecord resource +type DynamicDNSRecordClient struct { + aviSession *session.AviSession +} + +// NewDynamicDNSRecordClient creates a new client for DynamicDNSRecord resource +func NewDynamicDNSRecordClient(aviSession *session.AviSession) *DynamicDNSRecordClient { + return &DynamicDNSRecordClient{aviSession: aviSession} +} + +func (client *DynamicDNSRecordClient) getAPIPath(uuid string) string { + path := "api/dynamicdnsrecord" + if uuid != "" { + path += "/" + uuid + } + return path +} + +// GetAll is a collection API to get a list of DynamicDNSRecord objects +func (client *DynamicDNSRecordClient) GetAll(options ...session.ApiOptionsParams) ([]*models.DynamicDNSRecord, error) { + var plist []*models.DynamicDNSRecord + err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) + return plist, err +} + +// Get an existing DynamicDNSRecord by uuid +func (client *DynamicDNSRecordClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var obj *models.DynamicDNSRecord + err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) + return obj, err +} + +// GetByName - Get an existing DynamicDNSRecord by name +func (client *DynamicDNSRecordClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var obj *models.DynamicDNSRecord + err := client.aviSession.GetObjectByName("dynamicdnsrecord", name, &obj, options...) + return obj, err +} + +// GetObject - Get an existing DynamicDNSRecord by filters like name, cloud, tenant +// Api creates DynamicDNSRecord object with every call. +func (client *DynamicDNSRecordClient) GetObject(options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var obj *models.DynamicDNSRecord + 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("dynamicdnsrecord", newOptions...) + return obj, err +} + +// Create a new DynamicDNSRecord object +func (client *DynamicDNSRecordClient) Create(obj *models.DynamicDNSRecord, options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var robj *models.DynamicDNSRecord + err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) + return robj, err +} + +// Update an existing DynamicDNSRecord object +func (client *DynamicDNSRecordClient) Update(obj *models.DynamicDNSRecord, options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var robj *models.DynamicDNSRecord + path := client.getAPIPath(*obj.UUID) + err := client.aviSession.Put(path, obj, &robj, options...) + return robj, err +} + +// Patch an existing DynamicDNSRecord object specified using uuid +// patchOp: Patch operation - add, replace, or delete +// patch: Patch payload should be compatible with the models.DynamicDNSRecord +// or it should be json compatible of form map[string]interface{} +func (client *DynamicDNSRecordClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.DynamicDNSRecord, error) { + var robj *models.DynamicDNSRecord + path := client.getAPIPath(uuid) + err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) + return robj, err +} + +// Delete an existing DynamicDNSRecord object with a given UUID +func (client *DynamicDNSRecordClient) 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 DynamicDNSRecord object with a given name +func (client *DynamicDNSRecordClient) 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 *DynamicDNSRecordClient) GetAviSession() *session.AviSession { + return client.aviSession +} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/jwtserverprofile_client.go b/vendor/github.com/avinetworks/sdk/go/clients/jwtserverprofile_client.go new file mode 100644 index 000000000..5931a3349 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/clients/jwtserverprofile_client.go @@ -0,0 +1,116 @@ +/*************************************************************************** + * ------------------------------------------------------------------------ + * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential + * ------------------------------------------------------------------------ + */ + +package clients + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +import ( + "github.com/avinetworks/sdk/go/models" + "github.com/avinetworks/sdk/go/session" +) + +// JWTServerProfileClient is a client for avi JWTServerProfile resource +type JWTServerProfileClient struct { + aviSession *session.AviSession +} + +// NewJWTServerProfileClient creates a new client for JWTServerProfile resource +func NewJWTServerProfileClient(aviSession *session.AviSession) *JWTServerProfileClient { + return &JWTServerProfileClient{aviSession: aviSession} +} + +func (client *JWTServerProfileClient) getAPIPath(uuid string) string { + path := "api/jwtserverprofile" + if uuid != "" { + path += "/" + uuid + } + return path +} + +// GetAll is a collection API to get a list of JWTServerProfile objects +func (client *JWTServerProfileClient) GetAll(options ...session.ApiOptionsParams) ([]*models.JWTServerProfile, error) { + var plist []*models.JWTServerProfile + err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) + return plist, err +} + +// Get an existing JWTServerProfile by uuid +func (client *JWTServerProfileClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var obj *models.JWTServerProfile + err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) + return obj, err +} + +// GetByName - Get an existing JWTServerProfile by name +func (client *JWTServerProfileClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var obj *models.JWTServerProfile + err := client.aviSession.GetObjectByName("jwtserverprofile", name, &obj, options...) + return obj, err +} + +// GetObject - Get an existing JWTServerProfile by filters like name, cloud, tenant +// Api creates JWTServerProfile object with every call. +func (client *JWTServerProfileClient) GetObject(options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var obj *models.JWTServerProfile + 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("jwtserverprofile", newOptions...) + return obj, err +} + +// Create a new JWTServerProfile object +func (client *JWTServerProfileClient) Create(obj *models.JWTServerProfile, options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var robj *models.JWTServerProfile + err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) + return robj, err +} + +// Update an existing JWTServerProfile object +func (client *JWTServerProfileClient) Update(obj *models.JWTServerProfile, options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var robj *models.JWTServerProfile + path := client.getAPIPath(*obj.UUID) + err := client.aviSession.Put(path, obj, &robj, options...) + return robj, err +} + +// Patch an existing JWTServerProfile object specified using uuid +// patchOp: Patch operation - add, replace, or delete +// patch: Patch payload should be compatible with the models.JWTServerProfile +// or it should be json compatible of form map[string]interface{} +func (client *JWTServerProfileClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.JWTServerProfile, error) { + var robj *models.JWTServerProfile + path := client.getAPIPath(uuid) + err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) + return robj, err +} + +// Delete an existing JWTServerProfile object with a given UUID +func (client *JWTServerProfileClient) 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 JWTServerProfile object with a given name +func (client *JWTServerProfileClient) 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 *JWTServerProfileClient) GetAviSession() *session.AviSession { + return client.aviSession +} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/objectaccesspolicy_client.go b/vendor/github.com/avinetworks/sdk/go/clients/objectaccesspolicy_client.go deleted file mode 100644 index e49a59077..000000000 --- a/vendor/github.com/avinetworks/sdk/go/clients/objectaccesspolicy_client.go +++ /dev/null @@ -1,116 +0,0 @@ -/*************************************************************************** - * ------------------------------------------------------------------------ - * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential - * ------------------------------------------------------------------------ - */ - -package clients - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -import ( - "github.com/avinetworks/sdk/go/models" - "github.com/avinetworks/sdk/go/session" -) - -// ObjectAccessPolicyClient is a client for avi ObjectAccessPolicy resource -type ObjectAccessPolicyClient struct { - aviSession *session.AviSession -} - -// NewObjectAccessPolicyClient creates a new client for ObjectAccessPolicy resource -func NewObjectAccessPolicyClient(aviSession *session.AviSession) *ObjectAccessPolicyClient { - return &ObjectAccessPolicyClient{aviSession: aviSession} -} - -func (client *ObjectAccessPolicyClient) getAPIPath(uuid string) string { - path := "api/objectaccesspolicy" - if uuid != "" { - path += "/" + uuid - } - return path -} - -// GetAll is a collection API to get a list of ObjectAccessPolicy objects -func (client *ObjectAccessPolicyClient) GetAll(options ...session.ApiOptionsParams) ([]*models.ObjectAccessPolicy, error) { - var plist []*models.ObjectAccessPolicy - err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) - return plist, err -} - -// Get an existing ObjectAccessPolicy by uuid -func (client *ObjectAccessPolicyClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var obj *models.ObjectAccessPolicy - err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) - return obj, err -} - -// GetByName - Get an existing ObjectAccessPolicy by name -func (client *ObjectAccessPolicyClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var obj *models.ObjectAccessPolicy - err := client.aviSession.GetObjectByName("objectaccesspolicy", name, &obj, options...) - return obj, err -} - -// GetObject - Get an existing ObjectAccessPolicy by filters like name, cloud, tenant -// Api creates ObjectAccessPolicy object with every call. -func (client *ObjectAccessPolicyClient) GetObject(options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var obj *models.ObjectAccessPolicy - 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("objectaccesspolicy", newOptions...) - return obj, err -} - -// Create a new ObjectAccessPolicy object -func (client *ObjectAccessPolicyClient) Create(obj *models.ObjectAccessPolicy, options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var robj *models.ObjectAccessPolicy - err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) - return robj, err -} - -// Update an existing ObjectAccessPolicy object -func (client *ObjectAccessPolicyClient) Update(obj *models.ObjectAccessPolicy, options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var robj *models.ObjectAccessPolicy - path := client.getAPIPath(*obj.UUID) - err := client.aviSession.Put(path, obj, &robj, options...) - return robj, err -} - -// Patch an existing ObjectAccessPolicy object specified using uuid -// patchOp: Patch operation - add, replace, or delete -// patch: Patch payload should be compatible with the models.ObjectAccessPolicy -// or it should be json compatible of form map[string]interface{} -func (client *ObjectAccessPolicyClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.ObjectAccessPolicy, error) { - var robj *models.ObjectAccessPolicy - path := client.getAPIPath(uuid) - err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) - return robj, err -} - -// Delete an existing ObjectAccessPolicy object with a given UUID -func (client *ObjectAccessPolicyClient) 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 ObjectAccessPolicy object with a given name -func (client *ObjectAccessPolicyClient) 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 *ObjectAccessPolicyClient) GetAviSession() *session.AviSession { - return client.aviSession -} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/portalfileupload_client.go b/vendor/github.com/avinetworks/sdk/go/clients/portalfileupload_client.go deleted file mode 100644 index 21bb3bd45..000000000 --- a/vendor/github.com/avinetworks/sdk/go/clients/portalfileupload_client.go +++ /dev/null @@ -1,128 +0,0 @@ -/*************************************************************************** - * - * AVI CONFIDENTIAL - * __________________ - * - * [2013] - [2018] Avi Networks Incorporated - * All Rights Reserved. - * - * NOTICE: All information contained herein is, and remains the property - * of Avi Networks Incorporated and its suppliers, if any. The intellectual - * and technical concepts contained herein are proprietary to Avi Networks - * Incorporated, and its suppliers and are covered by U.S. and Foreign - * Patents, patents in process, and are protected by trade secret or - * copyright law, and other laws. Dissemination of this information or - * reproduction of this material is strictly forbidden unless prior written - * permission is obtained from Avi Networks Incorporated. - */ - -package clients - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -import ( - "github.com/avinetworks/sdk/go/models" - "github.com/avinetworks/sdk/go/session" -) - -// PortalFileUploadClient is a client for avi PortalFileUpload resource -type PortalFileUploadClient struct { - aviSession *session.AviSession -} - -// NewPortalFileUploadClient creates a new client for PortalFileUpload resource -func NewPortalFileUploadClient(aviSession *session.AviSession) *PortalFileUploadClient { - return &PortalFileUploadClient{aviSession: aviSession} -} - -func (client *PortalFileUploadClient) getAPIPath(uuid string) string { - path := "api/portalfileupload" - if uuid != "" { - path += "/" + uuid - } - return path -} - -// GetAll is a collection API to get a list of PortalFileUpload objects -func (client *PortalFileUploadClient) GetAll(options ...session.ApiOptionsParams) ([]*models.PortalFileUpload, error) { - var plist []*models.PortalFileUpload - err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) - return plist, err -} - -// Get an existing PortalFileUpload by uuid -func (client *PortalFileUploadClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var obj *models.PortalFileUpload - err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) - return obj, err -} - -// GetByName - Get an existing PortalFileUpload by name -func (client *PortalFileUploadClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var obj *models.PortalFileUpload - err := client.aviSession.GetObjectByName("portalfileupload", name, &obj, options...) - return obj, err -} - -// GetObject - Get an existing PortalFileUpload by filters like name, cloud, tenant -// Api creates PortalFileUpload object with every call. -func (client *PortalFileUploadClient) GetObject(options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var obj *models.PortalFileUpload - 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("portalfileupload", newOptions...) - return obj, err -} - -// Create a new PortalFileUpload object -func (client *PortalFileUploadClient) Create(obj *models.PortalFileUpload, options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var robj *models.PortalFileUpload - err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) - return robj, err -} - -// Update an existing PortalFileUpload object -func (client *PortalFileUploadClient) Update(obj *models.PortalFileUpload, options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var robj *models.PortalFileUpload - path := client.getAPIPath(*obj.UUID) - err := client.aviSession.Put(path, obj, &robj, options...) - return robj, err -} - -// Patch an existing PortalFileUpload object specified using uuid -// patchOp: Patch operation - add, replace, or delete -// patch: Patch payload should be compatible with the models.PortalFileUpload -// or it should be json compatible of form map[string]interface{} -func (client *PortalFileUploadClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.PortalFileUpload, error) { - var robj *models.PortalFileUpload - path := client.getAPIPath(uuid) - err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) - return robj, err -} - -// Delete an existing PortalFileUpload object with a given UUID -func (client *PortalFileUploadClient) 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 PortalFileUpload object with a given name -func (client *PortalFileUploadClient) 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 *PortalFileUploadClient) GetAviSession() *session.AviSession { - return client.aviSession -} diff --git a/vendor/github.com/avinetworks/sdk/go/clients/user_client.go b/vendor/github.com/avinetworks/sdk/go/clients/user_client.go new file mode 100644 index 000000000..4b35e04aa --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/clients/user_client.go @@ -0,0 +1,116 @@ +/*************************************************************************** + * ------------------------------------------------------------------------ + * Copyright 2020 VMware, Inc. All rights reserved. VMware Confidential + * ------------------------------------------------------------------------ + */ + +package clients + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +import ( + "github.com/avinetworks/sdk/go/models" + "github.com/avinetworks/sdk/go/session" +) + +// UserClient is a client for avi User resource +type UserClient struct { + aviSession *session.AviSession +} + +// NewUserClient creates a new client for User resource +func NewUserClient(aviSession *session.AviSession) *UserClient { + return &UserClient{aviSession: aviSession} +} + +func (client *UserClient) getAPIPath(uuid string) string { + path := "api/user" + if uuid != "" { + path += "/" + uuid + } + return path +} + +// GetAll is a collection API to get a list of User objects +func (client *UserClient) GetAll(options ...session.ApiOptionsParams) ([]*models.User, error) { + var plist []*models.User + err := client.aviSession.GetCollection(client.getAPIPath(""), &plist, options...) + return plist, err +} + +// Get an existing User by uuid +func (client *UserClient) Get(uuid string, options ...session.ApiOptionsParams) (*models.User, error) { + var obj *models.User + err := client.aviSession.Get(client.getAPIPath(uuid), &obj, options...) + return obj, err +} + +// GetByName - Get an existing User by name +func (client *UserClient) GetByName(name string, options ...session.ApiOptionsParams) (*models.User, error) { + var obj *models.User + err := client.aviSession.GetObjectByName("user", name, &obj, options...) + return obj, err +} + +// GetObject - Get an existing User by filters like name, cloud, tenant +// Api creates User object with every call. +func (client *UserClient) GetObject(options ...session.ApiOptionsParams) (*models.User, error) { + var obj *models.User + 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("user", newOptions...) + return obj, err +} + +// Create a new User object +func (client *UserClient) Create(obj *models.User, options ...session.ApiOptionsParams) (*models.User, error) { + var robj *models.User + err := client.aviSession.Post(client.getAPIPath(""), obj, &robj, options...) + return robj, err +} + +// Update an existing User object +func (client *UserClient) Update(obj *models.User, options ...session.ApiOptionsParams) (*models.User, error) { + var robj *models.User + path := client.getAPIPath(*obj.UUID) + err := client.aviSession.Put(path, obj, &robj, options...) + return robj, err +} + +// Patch an existing User object specified using uuid +// patchOp: Patch operation - add, replace, or delete +// patch: Patch payload should be compatible with the models.User +// or it should be json compatible of form map[string]interface{} +func (client *UserClient) Patch(uuid string, patch interface{}, patchOp string, options ...session.ApiOptionsParams) (*models.User, error) { + var robj *models.User + path := client.getAPIPath(uuid) + err := client.aviSession.Patch(path, patch, patchOp, &robj, options...) + return robj, err +} + +// Delete an existing User object with a given UUID +func (client *UserClient) 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 User object with a given name +func (client *UserClient) 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 *UserClient) GetAviSession() *session.AviSession { + return client.aviSession +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/a_c_subject_info.go b/vendor/github.com/avinetworks/sdk/go/models/a_c_subject_info.go new file mode 100644 index 000000000..298c61245 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/a_c_subject_info.go @@ -0,0 +1,17 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// ACSubjectInfo a c subject info +// swagger:model ACSubjectInfo +type ACSubjectInfo struct { + + // Subject type for the audit event (e.g. DNS Hostname, IP address, URI). Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` + + // Subject value for the audit event (e.g. www.example.com, 10.10.10.10, www.foo.com/index.html). Field introduced in 20.1.3. + // Required: true + Value *string `json:"value"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/a_c_user_identity.go b/vendor/github.com/avinetworks/sdk/go/models/a_c_user_identity.go new file mode 100644 index 000000000..877cb1b16 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/a_c_user_identity.go @@ -0,0 +1,17 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// ACUserIdentity a c user identity +// swagger:model ACUserIdentity +type ACUserIdentity struct { + + // User identity type for audit event (e.g. username, organization, component). Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` + + // User identity value for audit event (e.g. SomeCompany, Jane Doe, Secure-shell). Field introduced in 20.1.3. + // Required: true + Value *string `json:"value"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_config.go b/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_config.go index 9b26d9921..2d2838303 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_config.go @@ -22,6 +22,9 @@ type ALBServicesConfig struct { // Required: true IPReputationConfig *IPReputationConfig `json:"ip_reputation_config"` + // Mode helps log collection and upload. Enum options - SALESFORCE, SYSTEST, MYVMWARE. Field introduced in 20.1.2. Allowed in Basic(Allowed values- SALESFORCE) edition, Essentials(Allowed values- SALESFORCE) edition, Enterprise edition. + Mode *string `json:"mode,omitempty"` + // Time interval in minutes. Allowed values are 5-60. Field introduced in 18.2.6. PollingInterval *int32 `json:"polling_interval,omitempty"` @@ -44,6 +47,9 @@ type ALBServicesConfig struct { // By default, use system proxy configuration.If true, use split proxy configuration. Field introduced in 20.1.1. UseSplitProxy *bool `json:"use_split_proxy,omitempty"` + // Secure the controller to PULSE communication over TLS. Field introduced in 20.1.3. + UseTLS *bool `json:"use_tls,omitempty"` + // Field introduced in 18.2.6. UUID *string `json:"uuid,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_file_upload.go b/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_file_upload.go index 31bfb9707..470c2210b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_file_upload.go +++ b/vendor/github.com/avinetworks/sdk/go/models/a_l_b_services_file_upload.go @@ -29,7 +29,7 @@ type ALBServicesFileUpload struct { // Custom AWS S3 Directory Path to upload file. Field introduced in 18.2.6. S3Directory *string `json:"s3_directory,omitempty"` - // Captures status for 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_BAD_REQUEST, SYSERR_TEST1.... Field introduced in 18.2.6. + // Captures status for 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. // Read Only: true Status *string `json:"status,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/action_group_config.go b/vendor/github.com/avinetworks/sdk/go/models/action_group_config.go index 4c59bb2cc..4b6570f36 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/action_group_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/action_group_config.go @@ -14,7 +14,7 @@ type ActionGroupConfig struct { // reference of the action script configuration to be used. It is a reference to an object of type AlertScriptConfig. ActionScriptConfigRef *string `json:"action_script_config_ref,omitempty"` - // Trigger Notification to AutoScale Manager. + // Trigger Notification to AutoScale Manager. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AutoscaleTriggerNotification *bool `json:"autoscale_trigger_notification,omitempty"` // User defined description for the object. @@ -23,7 +23,7 @@ type ActionGroupConfig struct { // Select the Email Notification configuration to use when sending alerts via email. It is a reference to an object of type AlertEmailConfig. EmailConfigRef *string `json:"email_config_ref,omitempty"` - // Generate Alert only to external destinations. + // Generate Alert only to external destinations. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. // Required: true ExternalOnly *bool `json:"external_only"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/alert_rule_metric.go b/vendor/github.com/avinetworks/sdk/go/models/alert_rule_metric.go index 6669f590a..c71bf9836 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/alert_rule_metric.go +++ b/vendor/github.com/avinetworks/sdk/go/models/alert_rule_metric.go @@ -7,7 +7,7 @@ package models // swagger:model AlertRuleMetric type AlertRuleMetric struct { - // Evaluation window for the Metrics. Unit is SEC. + // Evaluation window for the Metrics. Allowed values are 600-86400. Unit is SEC. Duration *int32 `json:"duration,omitempty"` // Metric Id for the Alert. Eg. l4_client.avg_complete_conns. diff --git a/vendor/github.com/avinetworks/sdk/go/models/alert_syslog_server.go b/vendor/github.com/avinetworks/sdk/go/models/alert_syslog_server.go index d954e9d6e..090031349 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/alert_syslog_server.go +++ b/vendor/github.com/avinetworks/sdk/go/models/alert_syslog_server.go @@ -10,7 +10,7 @@ type AlertSyslogServer struct { // Enable anonymous authentication of Syslog Serverwhich will disable server certificate authentication. Field introduced in 17.2.17, 18.2.5. AnonAuth *bool `json:"anon_auth,omitempty"` - // Syslog output format - legacy, RFC 5424, JSON. Enum options - SYSLOG_LEGACY, SYSLOG_RFC5424, SYSLOG_JSON. Field introduced in 17.2.8. + // Syslog output format - legacy, RFC 5424, JSON. Enum options - SYSLOG_LEGACY, SYSLOG_RFC5424, SYSLOG_JSON, SYSLOG_RFC5425_ENHANCED. Field introduced in 17.2.8. Format *string `json:"format,omitempty"` // Select the PKIProfile containing a CA or list of CA chainswhich will validate the certificate of the syslog server. It is a reference to an object of type PKIProfile. Field introduced in 17.2.17, 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/analytics_policy.go b/vendor/github.com/avinetworks/sdk/go/models/analytics_policy.go index b9c8775e1..045e60d42 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/analytics_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/analytics_policy.go @@ -25,12 +25,15 @@ type AnalyticsPolicy struct { // Placeholder for description of property full_client_logs of obj type AnalyticsPolicy field type str type object FullClientLogs *FullClientLogs `json:"full_client_logs,omitempty"` + // Configuration for learning logging determining whether it's enabled and where is the destination. Field introduced in 20.1.3. + LearningLogPolicy *LearningLogPolicy `json:"learning_log_policy,omitempty"` + // Settings to turn on realtime metrics and set duration for realtime updates. 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 disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // 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. 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 disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // 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. UdfLogThrottle *int32 `json:"udf_log_throttle,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/analytics_profile.go b/vendor/github.com/avinetworks/sdk/go/models/analytics_profile.go index 3d3dd1551..6450b2668 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/analytics_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/analytics_profile.go @@ -11,240 +11,252 @@ type AnalyticsProfile struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // If a client receives an HTTP response in less than the Satisfactory Latency Threshold, the request is considered Satisfied. It is considered Tolerated if it is not Satisfied and less than Tolerated Latency Factor multiplied by the Satisfactory Latency Threshold. Greater than this number and the client's request is considered Frustrated. Allowed values are 1-30000. Unit is MILLISECONDS. + // If a client receives an HTTP response in less than the Satisfactory Latency Threshold, the request is considered Satisfied. It is considered Tolerated if it is not Satisfied and less than Tolerated Latency Factor multiplied by the Satisfactory Latency Threshold. Greater than this number and the client's request is considered Frustrated. Allowed values are 1-30000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 500) edition, Essentials(Allowed values- 500) edition, Enterprise edition. ApdexResponseThreshold *int32 `json:"apdex_response_threshold,omitempty"` - // Client tolerated response latency factor. Client must receive a response within this factor times the satisfactory threshold (apdex_response_threshold) to be considered tolerated. Allowed values are 1-1000. + // Client tolerated response latency factor. Client must receive a response within this factor times the satisfactory threshold (apdex_response_threshold) to be considered tolerated. Allowed values are 1-1000. Allowed in Basic(Allowed values- 4) edition, Essentials(Allowed values- 4) edition, Enterprise edition. ApdexResponseToleratedFactor *float64 `json:"apdex_response_tolerated_factor,omitempty"` - // Satisfactory client to Avi Round Trip Time(RTT). Allowed values are 1-2000. Unit is MILLISECONDS. + // Satisfactory client to Avi Round Trip Time(RTT). Allowed values are 1-2000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 250) edition, Essentials(Allowed values- 250) edition, Enterprise edition. ApdexRttThreshold *int32 `json:"apdex_rtt_threshold,omitempty"` - // Tolerated client to Avi Round Trip Time(RTT) factor. It is a multiple of apdex_rtt_tolerated_factor. Allowed values are 1-1000. + // Tolerated client to Avi Round Trip Time(RTT) factor. It is a multiple of apdex_rtt_tolerated_factor. Allowed values are 1-1000. Allowed in Basic(Allowed values- 4) edition, Essentials(Allowed values- 4) edition, Enterprise edition. ApdexRttToleratedFactor *float64 `json:"apdex_rtt_tolerated_factor,omitempty"` - // If a client is able to load a page in less than the Satisfactory Latency Threshold, the PageLoad is considered Satisfied. It is considered tolerated if it is greater than Satisfied but less than the Tolerated Latency multiplied by Satisifed Latency. Greater than this number and the client's request is considered Frustrated. A PageLoad includes the time for DNS lookup, download of all HTTP objects, and page render time. Allowed values are 1-30000. Unit is MILLISECONDS. + // If a client is able to load a page in less than the Satisfactory Latency Threshold, the PageLoad is considered Satisfied. It is considered tolerated if it is greater than Satisfied but less than the Tolerated Latency multiplied by Satisifed Latency. Greater than this number and the client's request is considered Frustrated. A PageLoad includes the time for DNS lookup, download of all HTTP objects, and page render time. Allowed values are 1-30000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 5000) edition, Essentials(Allowed values- 5000) edition, Enterprise edition. ApdexRumThreshold *int32 `json:"apdex_rum_threshold,omitempty"` - // Virtual service threshold factor for tolerated Page Load Time (PLT) as multiple of apdex_rum_threshold. Allowed values are 1-1000. + // Virtual service threshold factor for tolerated Page Load Time (PLT) as multiple of apdex_rum_threshold. Allowed values are 1-1000. Allowed in Basic(Allowed values- 4) edition, Essentials(Allowed values- 4) edition, Enterprise edition. ApdexRumToleratedFactor *float64 `json:"apdex_rum_tolerated_factor,omitempty"` - // A server HTTP response is considered Satisfied if latency is less than the Satisfactory Latency Threshold. The response is considered tolerated when it is greater than Satisfied but less than the Tolerated Latency Factor * S_Latency. Greater than this number and the server response is considered Frustrated. Allowed values are 1-30000. Unit is MILLISECONDS. + // A server HTTP response is considered Satisfied if latency is less than the Satisfactory Latency Threshold. The response is considered tolerated when it is greater than Satisfied but less than the Tolerated Latency Factor * S_Latency. Greater than this number and the server response is considered Frustrated. Allowed values are 1-30000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 400) edition, Essentials(Allowed values- 400) edition, Enterprise edition. ApdexServerResponseThreshold *int32 `json:"apdex_server_response_threshold,omitempty"` - // Server tolerated response latency factor. Servermust response within this factor times the satisfactory threshold (apdex_server_response_threshold) to be considered tolerated. Allowed values are 1-1000. + // Server tolerated response latency factor. Servermust response within this factor times the satisfactory threshold (apdex_server_response_threshold) to be considered tolerated. Allowed values are 1-1000. Allowed in Basic(Allowed values- 4) edition, Essentials(Allowed values- 4) edition, Enterprise edition. ApdexServerResponseToleratedFactor *float64 `json:"apdex_server_response_tolerated_factor,omitempty"` - // Satisfactory client to Avi Round Trip Time(RTT). Allowed values are 1-2000. Unit is MILLISECONDS. + // Satisfactory client to Avi Round Trip Time(RTT). Allowed values are 1-2000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 125) edition, Essentials(Allowed values- 125) edition, Enterprise edition. ApdexServerRttThreshold *int32 `json:"apdex_server_rtt_threshold,omitempty"` - // Tolerated client to Avi Round Trip Time(RTT) factor. It is a multiple of apdex_rtt_tolerated_factor. Allowed values are 1-1000. + // Tolerated client to Avi Round Trip Time(RTT) factor. It is a multiple of apdex_rtt_tolerated_factor. Allowed values are 1-1000. Allowed in Basic(Allowed values- 4) edition, Essentials(Allowed values- 4) edition, Enterprise edition. ApdexServerRttToleratedFactor *float64 `json:"apdex_server_rtt_tolerated_factor,omitempty"` // Configure which logs are sent to the Avi Controller from SEs and how they are processed. ClientLogConfig *ClientLogConfiguration `json:"client_log_config,omitempty"` - // Configure to stream logs to an external server. Field introduced in 17.1.1. + // Configure to stream logs to an external server. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. ClientLogStreamingConfig *ClientLogStreamingConfig `json:"client_log_streaming_config,omitempty"` - // A connection between client and Avi is considered lossy when more than this percentage of out of order packets are received. Allowed values are 1-100. Unit is PERCENT. + // A connection between client and Avi is considered lossy when more than this percentage of out of order packets are received. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 50) edition, Essentials(Allowed values- 50) edition, Enterprise edition. ConnLossyOooThreshold *int32 `json:"conn_lossy_ooo_threshold,omitempty"` - // A connection between client and Avi is considered lossy when more than this percentage of packets are retransmitted due to timeout. Allowed values are 1-100. Unit is PERCENT. + // A connection between client and Avi is considered lossy when more than this percentage of packets are retransmitted due to timeout. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 20) edition, Essentials(Allowed values- 20) edition, Enterprise edition. ConnLossyTimeoRexmtThreshold *int32 `json:"conn_lossy_timeo_rexmt_threshold,omitempty"` - // A connection between client and Avi is considered lossy when more than this percentage of packets are retransmitted. Allowed values are 1-100. Unit is PERCENT. + // A connection between client and Avi is considered lossy when more than this percentage of packets are retransmitted. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 50) edition, Essentials(Allowed values- 50) edition, Enterprise edition. ConnLossyTotalRexmtThreshold *int32 `json:"conn_lossy_total_rexmt_threshold,omitempty"` - // A client connection is considered lossy when percentage of times a packet could not be trasmitted due to TCP zero window is above this threshold. Allowed values are 0-100. Unit is PERCENT. + // A client connection is considered lossy when percentage of times a packet could not be trasmitted due to TCP zero window is above this threshold. Allowed values are 0-100. Unit is PERCENT. Allowed in Basic(Allowed values- 2) edition, Essentials(Allowed values- 2) edition, Enterprise edition. ConnLossyZeroWinSizeEventThreshold *int32 `json:"conn_lossy_zero_win_size_event_threshold,omitempty"` - // A connection between Avi and server is considered lossy when more than this percentage of out of order packets are received. Allowed values are 1-100. Unit is PERCENT. + // A connection between Avi and server is considered lossy when more than this percentage of out of order packets are received. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 50) edition, Essentials(Allowed values- 50) edition, Enterprise edition. ConnServerLossyOooThreshold *int32 `json:"conn_server_lossy_ooo_threshold,omitempty"` - // A connection between Avi and server is considered lossy when more than this percentage of packets are retransmitted due to timeout. Allowed values are 1-100. Unit is PERCENT. + // A connection between Avi and server is considered lossy when more than this percentage of packets are retransmitted due to timeout. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 20) edition, Essentials(Allowed values- 20) edition, Enterprise edition. ConnServerLossyTimeoRexmtThreshold *int32 `json:"conn_server_lossy_timeo_rexmt_threshold,omitempty"` - // A connection between Avi and server is considered lossy when more than this percentage of packets are retransmitted. Allowed values are 1-100. Unit is PERCENT. + // A connection between Avi and server is considered lossy when more than this percentage of packets are retransmitted. Allowed values are 1-100. Unit is PERCENT. Allowed in Basic(Allowed values- 50) edition, Essentials(Allowed values- 50) edition, Enterprise edition. ConnServerLossyTotalRexmtThreshold *int32 `json:"conn_server_lossy_total_rexmt_threshold,omitempty"` - // A server connection is considered lossy when percentage of times a packet could not be trasmitted due to TCP zero window is above this threshold. Allowed values are 0-100. Unit is PERCENT. + // A server connection is considered lossy when percentage of times a packet could not be trasmitted due to TCP zero window is above this threshold. Allowed values are 0-100. Unit is PERCENT. Allowed in Basic(Allowed values- 2) edition, Essentials(Allowed values- 2) edition, Enterprise edition. ConnServerLossyZeroWinSizeEventThreshold *int32 `json:"conn_server_lossy_zero_win_size_event_threshold,omitempty"` // User defined description for the object. Description *string `json:"description,omitempty"` - // Virtual Service (VS) metrics are processed only when there is live data traffic on the VS. In case, VS is idle for a period of time as specified by ondemand_metrics_idle_timeout then metrics processing is suspended for that VS. Field introduced in 18.1.1. + // Virtual Service (VS) metrics are processed only when there is live data traffic on the VS. In case, VS is idle for a period of time as specified by ondemand_metrics_idle_timeout then metrics processing is suspended for that VS. Field deprecated in 20.1.3. Field introduced in 18.1.1. DisableOndemandMetrics *bool `json:"disable_ondemand_metrics,omitempty"` - // Disable node (service engine) level analytics forvs metrics. + // Disable node (service engine) level analytics forvs metrics. Field deprecated in 20.1.3. DisableSeAnalytics *bool `json:"disable_se_analytics,omitempty"` - // Disable analytics on backend servers. This may be desired in container environment when there are large number of ephemeral servers. Additionally, no healthscore of servers is computed when server analytics is disabled. + // Disable analytics on backend servers. This may be desired in container environment when there are large number of ephemeral servers. Additionally, no healthscore of servers is computed when server analytics is disabled. Field deprecated in 20.1.3. DisableServerAnalytics *bool `json:"disable_server_analytics,omitempty"` - // Disable VirtualService (frontend) Analytics. This flag disables metrics and healthscore for Virtualservice. Field introduced in 18.2.1. + // Disable VirtualService (frontend) Analytics. This flag disables metrics and healthscore for Virtualservice. Field deprecated in 20.1.3. Field introduced in 18.2.1. DisableVsAnalytics *bool `json:"disable_vs_analytics,omitempty"` // Enable adaptive configuration for optimizing resource usage. Field introduced in 20.1.1. EnableAdaptiveConfig *bool `json:"enable_adaptive_config,omitempty"` - // Enables Advanced Analytics features like Anomaly detection. If set to false, anomaly computation (and associated rules/events) for VS, Pool and Server metrics will be disabled. However, setting it to false reduces cpu and memory requirements for Analytics subsystem. Field introduced in 17.2.13, 18.1.5, 18.2.1. + // Enables Advanced Analytics features like Anomaly detection. If set to false, anomaly computation (and associated rules/events) for VS, Pool and Server metrics will be deactivated. However, setting it to false reduces cpu and memory requirements for Analytics subsystem. Field introduced in 17.2.13, 18.1.5, 18.2.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is True. EnableAdvancedAnalytics *bool `json:"enable_advanced_analytics,omitempty"` - // Exclude client closed connection before an HTTP request could be completed from being classified as an error. + // Virtual Service (VS) metrics are processed only when there is live data traffic on the VS. In case, VS is idle for a period of time as specified by ondemand_metrics_idle_timeout then metrics processing is suspended for that VS. Field introduced in 20.1.3. + EnableOndemandMetrics *bool `json:"enable_ondemand_metrics,omitempty"` + + // Enable node (service engine) level analytics forvs metrics. Field introduced in 20.1.3. + EnableSeAnalytics *bool `json:"enable_se_analytics,omitempty"` + + // Enables analytics on backend servers. This may be desired in container environment when there are large number of ephemeral servers. Additionally, no healthscore of servers is computed when server analytics is enabled. Field introduced in 20.1.3. + EnableServerAnalytics *bool `json:"enable_server_analytics,omitempty"` + + // Enable VirtualService (frontend) Analytics. This flag enables metrics and healthscore for Virtualservice. Field introduced in 20.1.3. + EnableVsAnalytics *bool `json:"enable_vs_analytics,omitempty"` + + // Exclude client closed connection before an HTTP request could be completed from being classified as an error. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeClientCloseBeforeRequestAsError *bool `json:"exclude_client_close_before_request_as_error,omitempty"` - // Exclude dns policy drops from the list of errors. Field introduced in 17.2.2. + // Exclude dns policy drops from the list of errors. Field introduced in 17.2.2. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeDNSPolicyDropAsSignificant *bool `json:"exclude_dns_policy_drop_as_significant,omitempty"` - // Exclude queries to GSLB services that are operationally down from the list of errors. + // Exclude queries to GSLB services that are operationally down from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeGsDownAsError *bool `json:"exclude_gs_down_as_error,omitempty"` // List of HTTP status codes to be excluded from being classified as an error. Error connections or responses impacts health score, are included as significant logs, and may be classified as part of a DoS attack. ExcludeHTTPErrorCodes []int64 `json:"exclude_http_error_codes,omitempty,omitempty"` - // Exclude dns queries to domains outside the domains configured in the DNS application profile from the list of errors. + // Exclude dns queries to domains outside the domains configured in the DNS application profile from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeInvalidDNSDomainAsError *bool `json:"exclude_invalid_dns_domain_as_error,omitempty"` - // Exclude invalid dns queries from the list of errors. + // Exclude invalid dns queries from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeInvalidDNSQueryAsError *bool `json:"exclude_invalid_dns_query_as_error,omitempty"` - // Exclude the Issuer-Revoked OCSP Responses from the list of errors. Field introduced in 20.1.1. + // Exclude the Issuer-Revoked OCSP Responses from the list of errors. Field introduced in 20.1.1. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. ExcludeIssuerRevokedOcspResponsesAsError *bool `json:"exclude_issuer_revoked_ocsp_responses_as_error,omitempty"` - // Exclude queries to domains that did not have configured services/records from the list of errors. + // Exclude queries to domains that did not have configured services/records from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeNoDNSRecordAsError *bool `json:"exclude_no_dns_record_as_error,omitempty"` - // Exclude queries to GSLB services that have no available members from the list of errors. + // Exclude queries to GSLB services that have no available members from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeNoValidGsMemberAsError *bool `json:"exclude_no_valid_gs_member_as_error,omitempty"` - // Exclude persistence server changed while load balancing' from the list of errors. + // Exclude persistence server changed while load balancing' from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludePersistenceChangeAsError *bool `json:"exclude_persistence_change_as_error,omitempty"` - // Exclude the Revoked OCSP certificate status responses from the list of errors. Field introduced in 20.1.1. + // Exclude the Revoked OCSP certificate status responses from the list of errors. Field introduced in 20.1.1. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. ExcludeRevokedOcspResponsesAsError *bool `json:"exclude_revoked_ocsp_responses_as_error,omitempty"` - // Exclude server dns error response from the list of errors. + // Exclude server dns error response from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeServerDNSErrorAsError *bool `json:"exclude_server_dns_error_as_error,omitempty"` - // Exclude server TCP reset from errors. It is common for applications like MS Exchange. + // Exclude server TCP reset from errors. It is common for applications like MS Exchange. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeServerTCPResetAsError *bool `json:"exclude_server_tcp_reset_as_error,omitempty"` - // List of SIP status codes to be excluded from being classified as an error. Field introduced in 17.2.13, 18.1.5, 18.2.1. + // List of SIP status codes to be excluded from being classified as an error. Field introduced in 17.2.13, 18.1.5, 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. ExcludeSipErrorCodes []int64 `json:"exclude_sip_error_codes,omitempty,omitempty"` - // Exclude the Stale OCSP certificate status responses from the list of errors. Field introduced in 20.1.1. + // Exclude the Stale OCSP certificate status responses from the list of errors. Field introduced in 20.1.1. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. ExcludeStaleOcspResponsesAsError *bool `json:"exclude_stale_ocsp_responses_as_error,omitempty"` - // Exclude 'server unanswered syns' from the list of errors. + // Exclude 'server unanswered syns' from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeSynRetransmitAsError *bool `json:"exclude_syn_retransmit_as_error,omitempty"` - // Exclude TCP resets by client from the list of potential errors. + // Exclude TCP resets by client from the list of potential errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeTCPResetAsError *bool `json:"exclude_tcp_reset_as_error,omitempty"` - // Exclude the unavailable OCSP Responses from the list of errors. Field introduced in 20.1.1. + // Exclude the unavailable OCSP Responses from the list of errors. Field introduced in 20.1.1. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. ExcludeUnavailableOcspResponsesAsError *bool `json:"exclude_unavailable_ocsp_responses_as_error,omitempty"` - // Exclude unsupported dns queries from the list of errors. + // Exclude unsupported dns queries from the list of errors. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ExcludeUnsupportedDNSQueryAsError *bool `json:"exclude_unsupported_dns_query_as_error,omitempty"` - // Skips health score computation of pool servers when number of servers in a pool is more than this setting. Allowed values are 0-5000. Special values are 0- 'server health score is disabled'. Field introduced in 17.2.13, 18.1.4. + // Skips health score computation of pool servers when number of servers in a pool is more than this setting. Allowed values are 0-5000. Special values are 0- 'server health score is deactivated'. Field introduced in 17.2.13, 18.1.4. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. Special default for Basic edition is 0, Essentials edition is 0, Enterprise is 20. HealthscoreMaxServerLimit *int32 `json:"healthscore_max_server_limit,omitempty"` - // Time window (in secs) within which only unique health change events should occur. + // Time window (in secs) within which only unique health change events should occur. Allowed in Basic(Allowed values- 1209600) edition, Essentials(Allowed values- 1209600) edition, Enterprise edition. HsEventThrottleWindow *int32 `json:"hs_event_throttle_window,omitempty"` - // Maximum penalty that may be deducted from health score for anomalies. Allowed values are 0-100. + // Maximum penalty that may be deducted from health score for anomalies. Allowed values are 0-100. Allowed in Basic(Allowed values- 10) edition, Essentials(Allowed values- 10) edition, Enterprise edition. HsMaxAnomalyPenalty *int32 `json:"hs_max_anomaly_penalty,omitempty"` - // Maximum penalty that may be deducted from health score for high resource utilization. Allowed values are 0-100. + // Maximum penalty that may be deducted from health score for high resource utilization. Allowed values are 0-100. Allowed in Basic(Allowed values- 25) edition, Essentials(Allowed values- 25) edition, Enterprise edition. HsMaxResourcesPenalty *int32 `json:"hs_max_resources_penalty,omitempty"` - // Maximum penalty that may be deducted from health score based on security assessment. Allowed values are 0-100. + // Maximum penalty that may be deducted from health score based on security assessment. Allowed values are 0-100. Allowed in Basic(Allowed values- 100) edition, Essentials(Allowed values- 100) edition, Enterprise edition. HsMaxSecurityPenalty *int32 `json:"hs_max_security_penalty,omitempty"` - // DoS connection rate below which the DoS security assessment will not kick in. + // DoS connection rate below which the DoS security assessment will not kick in. Allowed in Basic(Allowed values- 1000) edition, Essentials(Allowed values- 1000) edition, Enterprise edition. HsMinDosRate *int32 `json:"hs_min_dos_rate,omitempty"` - // Adds free performance score credits to health score. It can be used for compensating health score for known slow applications. Allowed values are 0-100. + // Adds free performance score credits to health score. It can be used for compensating health score for known slow applications. Allowed values are 0-100. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. HsPerformanceBoost *int32 `json:"hs_performance_boost,omitempty"` - // Threshold number of connections in 5min, below which apdexr, apdexc, rum_apdex, and other network quality metrics are not computed. + // Threshold number of connections in 5min, below which apdexr, apdexc, rum_apdex, and other network quality metrics are not computed. Allowed in Basic(Allowed values- 10) edition, Essentials(Allowed values- 10) edition, Enterprise edition. HsPscoreTrafficThresholdL4Client *float64 `json:"hs_pscore_traffic_threshold_l4_client,omitempty"` - // Threshold number of connections in 5min, below which apdexr, apdexc, rum_apdex, and other network quality metrics are not computed. + // Threshold number of connections in 5min, below which apdexr, apdexc, rum_apdex, and other network quality metrics are not computed. Allowed in Basic(Allowed values- 10) edition, Essentials(Allowed values- 10) edition, Enterprise edition. HsPscoreTrafficThresholdL4Server *float64 `json:"hs_pscore_traffic_threshold_l4_server,omitempty"` - // Score assigned when the certificate has expired. Allowed values are 0-5. + // Score assigned when the certificate has expired. Allowed values are 0-5. Allowed in Basic(Allowed values- 0.0) edition, Essentials(Allowed values- 0.0) edition, Enterprise edition. HsSecurityCertscoreExpired *float64 `json:"hs_security_certscore_expired,omitempty"` - // Score assigned when the certificate expires in more than 30 days. Allowed values are 0-5. + // Score assigned when the certificate expires in more than 30 days. Allowed values are 0-5. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. HsSecurityCertscoreGt30d *float64 `json:"hs_security_certscore_gt30d,omitempty"` - // Score assigned when the certificate expires in less than or equal to 7 days. Allowed values are 0-5. + // Score assigned when the certificate expires in less than or equal to 7 days. Allowed values are 0-5. Allowed in Basic(Allowed values- 2.0) edition, Essentials(Allowed values- 2.0) edition, Enterprise edition. HsSecurityCertscoreLe07d *float64 `json:"hs_security_certscore_le07d,omitempty"` - // Score assigned when the certificate expires in less than or equal to 30 days. Allowed values are 0-5. + // Score assigned when the certificate expires in less than or equal to 30 days. Allowed values are 0-5. Allowed in Basic(Allowed values- 4.0) edition, Essentials(Allowed values- 4.0) edition, Enterprise edition. HsSecurityCertscoreLe30d *float64 `json:"hs_security_certscore_le30d,omitempty"` - // Penalty for allowing certificates with invalid chain. Allowed values are 0-5. + // Penalty for allowing certificates with invalid chain. Allowed values are 0-5. Allowed in Basic(Allowed values- 1.0) edition, Essentials(Allowed values- 1.0) edition, Enterprise edition. HsSecurityChainInvalidityPenalty *float64 `json:"hs_security_chain_invalidity_penalty,omitempty"` - // Score assigned when the minimum cipher strength is 0 bits. Allowed values are 0-5. + // Score assigned when the minimum cipher strength is 0 bits. Allowed values are 0-5. Allowed in Basic(Allowed values- 0.0) edition, Essentials(Allowed values- 0.0) edition, Enterprise edition. HsSecurityCipherscoreEq000b *float64 `json:"hs_security_cipherscore_eq000b,omitempty"` - // Score assigned when the minimum cipher strength is greater than equal to 128 bits. Allowed values are 0-5. + // Score assigned when the minimum cipher strength is greater than equal to 128 bits. Allowed values are 0-5. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. HsSecurityCipherscoreGe128b *float64 `json:"hs_security_cipherscore_ge128b,omitempty"` - // Score assigned when the minimum cipher strength is less than 128 bits. Allowed values are 0-5. + // Score assigned when the minimum cipher strength is less than 128 bits. Allowed values are 0-5. Allowed in Basic(Allowed values- 3.5) edition, Essentials(Allowed values- 3.5) edition, Enterprise edition. HsSecurityCipherscoreLt128b *float64 `json:"hs_security_cipherscore_lt128b,omitempty"` - // Score assigned when no algorithm is used for encryption. Allowed values are 0-5. + // Score assigned when no algorithm is used for encryption. Allowed values are 0-5. Allowed in Basic(Allowed values- 0.0) edition, Essentials(Allowed values- 0.0) edition, Enterprise edition. HsSecurityEncalgoScoreNone *float64 `json:"hs_security_encalgo_score_none,omitempty"` - // Score assigned when RC4 algorithm is used for encryption. Allowed values are 0-5. + // Score assigned when RC4 algorithm is used for encryption. Allowed values are 0-5. Allowed in Basic(Allowed values- 2.5) edition, Essentials(Allowed values- 2.5) edition, Enterprise edition. HsSecurityEncalgoScoreRc4 *float64 `json:"hs_security_encalgo_score_rc4,omitempty"` - // Penalty for not enabling HSTS. Allowed values are 0-5. + // Penalty for not enabling HSTS. Allowed values are 0-5. Allowed in Basic(Allowed values- 1.0) edition, Essentials(Allowed values- 1.0) edition, Enterprise edition. HsSecurityHstsPenalty *float64 `json:"hs_security_hsts_penalty,omitempty"` - // Penalty for allowing non-PFS handshakes. Allowed values are 0-5. + // Penalty for allowing non-PFS handshakes. Allowed values are 0-5. Allowed in Basic(Allowed values- 1.0) edition, Essentials(Allowed values- 1.0) edition, Enterprise edition. HsSecurityNonpfsPenalty *float64 `json:"hs_security_nonpfs_penalty,omitempty"` - // Score assigned when OCSP Certificate Status is set to Revoked or Issuer Revoked. Allowed values are 0.0-5.0. Field introduced in 20.1.1. + // Score assigned when OCSP Certificate Status is set to Revoked or Issuer Revoked. Allowed values are 0.0-5.0. Field introduced in 20.1.1. Allowed in Basic(Allowed values- 0.0) edition, Essentials(Allowed values- 0.0) edition, Enterprise edition. HsSecurityOcspRevokedScore *float64 `json:"hs_security_ocsp_revoked_score,omitempty"` - // Deprecated. Allowed values are 0-5. + // Deprecated. Allowed values are 0-5. Allowed in Basic(Allowed values- 1.0) edition, Essentials(Allowed values- 1.0) edition, Enterprise edition. HsSecuritySelfsignedcertPenalty *float64 `json:"hs_security_selfsignedcert_penalty,omitempty"` - // Score assigned when supporting SSL3.0 encryption protocol. Allowed values are 0-5. + // Score assigned when supporting SSL3.0 encryption protocol. Allowed values are 0-5. Allowed in Basic(Allowed values- 3.5) edition, Essentials(Allowed values- 3.5) edition, Enterprise edition. HsSecuritySsl30Score *float64 `json:"hs_security_ssl30_score,omitempty"` - // Score assigned when supporting TLS1.0 encryption protocol. Allowed values are 0-5. + // Score assigned when supporting TLS1.0 encryption protocol. Allowed values are 0-5. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. HsSecurityTLS10Score *float64 `json:"hs_security_tls10_score,omitempty"` - // Score assigned when supporting TLS1.1 encryption protocol. Allowed values are 0-5. + // Score assigned when supporting TLS1.1 encryption protocol. Allowed values are 0-5. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. HsSecurityTLS11Score *float64 `json:"hs_security_tls11_score,omitempty"` - // Score assigned when supporting TLS1.2 encryption protocol. Allowed values are 0-5. + // Score assigned when supporting TLS1.2 encryption protocol. Allowed values are 0-5. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. HsSecurityTLS12Score *float64 `json:"hs_security_tls12_score,omitempty"` - // Score assigned when supporting TLS1.3 encryption protocol. Allowed values are 0-5. Field introduced in 18.2.6. + // Score assigned when supporting TLS1.3 encryption protocol. Allowed values are 0-5. Field introduced in 18.2.6. Allowed in Basic(Allowed values- 5.0) edition, Essentials(Allowed values- 5.0) edition, Enterprise edition. // Read Only: true HsSecurityTLS13Score *float64 `json:"hs_security_tls13_score,omitempty"` - // Penalty for allowing weak signature algorithm(s). Allowed values are 0-5. + // Penalty for allowing weak signature algorithm(s). Allowed values are 0-5. Allowed in Basic(Allowed values- 1.0) edition, Essentials(Allowed values- 1.0) edition, Enterprise edition. HsSecurityWeakSignatureAlgoPenalty *float64 `json:"hs_security_weak_signature_algo_penalty,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The name of the analytics profile. // Required: true Name *string `json:"name"` - // This flag sets the time duration of no live data traffic after which Virtual Service metrics processing is suspended. It is applicable only when disable_ondemand_metrics is set to false. Field introduced in 18.1.1. Unit is SECONDS. + // This flag sets the time duration of no live data traffic after which Virtual Service metrics processing is suspended. It is applicable only when enable_ondemand_metrics is set to false. Field introduced in 18.1.1. Unit is SECONDS. OndemandMetricsIDLETimeout *int32 `json:"ondemand_metrics_idle_timeout,omitempty"` // List of HTTP status code ranges to be excluded from being classified as an error. @@ -253,10 +265,10 @@ type AnalyticsProfile struct { // Block of HTTP response codes to be excluded from being classified as an error. Enum options - AP_HTTP_RSP_4XX, AP_HTTP_RSP_5XX. RespCodeBlock []string `json:"resp_code_block,omitempty"` - // Rules applied to the HTTP application log for filtering sensitive information. Field introduced in 17.2.10, 18.1.2. + // Rules applied to the HTTP application log for filtering sensitive information. Field introduced in 17.2.10, 18.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. SensitiveLogProfile *SensitiveLogProfile `json:"sensitive_log_profile,omitempty"` - // Maximum number of SIP messages added in logs for a SIP transaction. By default, this value is 20. Allowed values are 1-1000. Field introduced in 17.2.13, 18.1.5, 18.2.1. + // Maximum number of SIP messages added in logs for a SIP transaction. By default, this value is 20. Allowed values are 1-1000. Field introduced in 17.2.13, 18.1.5, 18.2.1. Allowed in Basic(Allowed values- 20) edition, Essentials(Allowed values- 20) edition, Enterprise edition. SipLogDepth *int32 `json:"sip_log_depth,omitempty"` // It is a reference to an object of type Tenant. diff --git a/vendor/github.com/avinetworks/sdk/go/models/app_hdr.go b/vendor/github.com/avinetworks/sdk/go/models/app_hdr.go index a0709791e..e20136d98 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/app_hdr.go +++ b/vendor/github.com/avinetworks/sdk/go/models/app_hdr.go @@ -15,7 +15,7 @@ type AppHdr struct { // Required: true HdrName *string `json:"hdr_name"` - // Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. + // Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. Allowed in Basic(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Essentials(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Enterprise edition. // Required: true HdrStringOp *string `json:"hdr_string_op"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/application_log.go b/vendor/github.com/avinetworks/sdk/go/models/application_log.go index c24b60ed2..3b3390b46 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/application_log.go +++ b/vendor/github.com/avinetworks/sdk/go/models/application_log.go @@ -84,6 +84,9 @@ type ApplicationLog struct { // Placeholder for description of property connection_error_info of obj type ApplicationLog field type str type object ConnectionErrorInfo *ConnErrorInfo `json:"connection_error_info,omitempty"` + // Critical error encountered during request processing. Field introduced in 20.1.3. + CriticalErrorEncountered *bool `json:"critical_error_encountered,omitempty"` + // Unit is MILLISECONDS. DataTransferTime *int64 `json:"data_transfer_time,omitempty"` @@ -105,7 +108,7 @@ type ApplicationLog struct { // GRPC response status sent in the GRPC trailer. Special values are -1- 'No GRPC status recevied even though client sent content-type as application/grpc.'. Field introduced in 20.1.1. GrpcStatus *int32 `json:"grpc_status,omitempty"` - // The reason phrase corresponding to the gRPC status code. Enum options - GRPC_STATUS_CODE_OK, GRPC_STATUS_CODE_CANCELLED, GRPC_STATUS_CODE_UNKNOWN, GRPC_STATUS_CODE_INVALID_ARGUMENT, GRPC_STATUS_CODE_DEADLINE_EXCEEDED, GRPC_STATUS_CODE_NOT_FOUND, GRPC_STATUS_CODE_ALREADY_EXISTS, GRPC_STATUS_CODE_PERMISSION_DENIED, GRPC_STATUS_CODE_UNAUTHENTICATED, GRPC_STATUS_CODE_RESOURCE_EXHAUSTED, GRPC_STATUS_CODE_FAILED_PRECONDITION, GRPC_STATUS_CODE_ABORTED, GRPC_STATUS_CODE_OUT_OF_RANGE, GRPC_STATUS_CODE_UNIMPLEMENTED, GRPC_STATUS_CODE_INTERNAL, GRPC_STATUS_CODE_UNAVAILABLE, GRPC_STATUS_CODE_DATA_LOSS. Field introduced in 20.1.1. + // The reason phrase corresponding to the gRPC status code. Enum options - GRPC_STATUS_CODE_OK, GRPC_STATUS_CODE_CANCELLED, GRPC_STATUS_CODE_UNKNOWN, GRPC_STATUS_CODE_INVALID_ARGUMENT, GRPC_STATUS_CODE_DEADLINE_EXCEEDED, GRPC_STATUS_CODE_NOT_FOUND, GRPC_STATUS_CODE_ALREADY_EXISTS, GRPC_STATUS_CODE_PERMISSION_DENIED, GRPC_STATUS_CODE_RESOURCE_EXHAUSTED, GRPC_STATUS_CODE_FAILED_PRECONDITION, GRPC_STATUS_CODE_STOPPED, GRPC_STATUS_CODE_OUT_OF_RANGE, GRPC_STATUS_CODE_UNIMPLEMENTED, GRPC_STATUS_CODE_INTERNAL, GRPC_STATUS_CODE_UNAVAILABLE, GRPC_STATUS_CODE_DATA_LOSS, GRPC_STATUS_CODE_UNAUTHENTICATED. Field introduced in 20.1.1. GrpcStatusReasonPhrase *string `json:"grpc_status_reason_phrase,omitempty"` // Response headers received from backend server. @@ -135,6 +138,9 @@ type ApplicationLog struct { // Log for the ICAP processing. Field introduced in 20.1.1. IcapLog *IcapLog `json:"icap_log,omitempty"` + // Logs for the JWT Validation process. Field introduced in 20.1.3. + JwtLog *JwtLog `json:"jwt_log,omitempty"` + // Number of log_id. // Required: true LogID *int32 `json:"log_id"` @@ -151,9 +157,15 @@ type ApplicationLog struct { // network_security_policy_rule_name of ApplicationLog. NetworkSecurityPolicyRuleName *string `json:"network_security_policy_rule_name,omitempty"` + // NTLM auto-detection logs. Field introduced in 20.1.3. + NtlmLog *NtlmLog `json:"ntlm_log,omitempty"` + // OCSP Certificate Status response sent in the SSL/TLS connection handshake. Field introduced in 20.1.1. OcspStatusRespSent *bool `json:"ocsp_status_resp_sent,omitempty"` + // Logs for HTTP Out-Of-Band Requests. Field introduced in 20.1.3. + OobLog *OutOfBandRequestLog `json:"oob_log,omitempty"` + // Logs for the PingAccess authentication process. Field introduced in 18.2.3. PaaLog *PaaLog `json:"paa_log,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/application_persistence_profile.go b/vendor/github.com/avinetworks/sdk/go/models/application_persistence_profile.go index b76ffb8e3..e8a80ef88 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/application_persistence_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/application_persistence_profile.go @@ -29,18 +29,18 @@ type ApplicationPersistenceProfile struct { // This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines. If the field is set to true, then the object is replicated across the federation. . Field introduced in 17.1.3. IsFederated *bool `json:"is_federated,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // A user-friendly name for the persistence profile. // 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. + // 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 Basic(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE) edition, Essentials(Allowed values- PERSISTENCE_TYPE_CLIENT_IP_ADDRESS,PERSISTENCE_TYPE_HTTP_COOKIE) edition, Enterprise edition. // Required: true PersistenceType *string `json:"persistence_type"` - // Specifies behavior when a persistent server has been marked down by a health monitor. Enum options - HM_DOWN_PICK_NEW_SERVER, HM_DOWN_ABORT_CONNECTION, HM_DOWN_CONTINUE_PERSISTENT_SERVER. + // Specifies behavior when a persistent server has been marked down by a health monitor. Enum options - HM_DOWN_PICK_NEW_SERVER, HM_DOWN_ABORT_CONNECTION, HM_DOWN_CONTINUE_PERSISTENT_SERVER. Allowed in Basic(Allowed values- HM_DOWN_PICK_NEW_SERVER) edition, Essentials(Allowed values- HM_DOWN_PICK_NEW_SERVER) edition, Enterprise edition. ServerHmDownRecovery *string `json:"server_hm_down_recovery,omitempty"` // It is a reference to an object of type Tenant. diff --git a/vendor/github.com/avinetworks/sdk/go/models/application_profile.go b/vendor/github.com/avinetworks/sdk/go/models/application_profile.go index f146396c1..e6b6335fd 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/application_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/application_profile.go @@ -39,10 +39,10 @@ type ApplicationProfile struct { // Specifies if we need to preserve client port while preserving client IP for backend connections. Field introduced in 17.2.7. PreserveClientPort *bool `json:"preserve_client_port,omitempty"` - // Specifies if destination IP and port needs to be preserved for backend connection. Field introduced in 20.1.1. + // Specifies if destination IP and port needs to be preserved for backend connection. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. PreserveDestIPPort *bool `json:"preserve_dest_ip_port,omitempty"` - // Specifies various SIP service related controls for virtual service. Field introduced in 17.2.8, 18.1.3, 18.2.1. + // Specifies various SIP service related controls for virtual service. Field introduced in 17.2.8, 18.1.3, 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. SipServiceProfile *SipServiceApplicationProfile `json:"sip_service_profile,omitempty"` // Specifies the TCP application proxy profile parameters. @@ -51,7 +51,7 @@ type ApplicationProfile struct { // It is a reference to an object of type Tenant. 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. + // 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 Basic(Allowed values- APPLICATION_PROFILE_TYPE_L4,APPLICATION_PROFILE_TYPE_HTTP) edition, Essentials(Allowed values- APPLICATION_PROFILE_TYPE_L4) edition, Enterprise edition. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/asset_contact_info.go b/vendor/github.com/avinetworks/sdk/go/models/asset_contact_info.go deleted file mode 100644 index 25b54268b..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/asset_contact_info.go +++ /dev/null @@ -1,15 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// AssetContactInfo asset contact info -// swagger:model AssetContactInfo -type AssetContactInfo struct { - - // Contact ID of the point of contact for this asset. Field introduced in 20.1.1. - ContactID *string `json:"contact_id,omitempty"` - - // Name of the point of contact for this asset. Field introduced in 20.1.1. - Name *string `json:"name,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/audit_compliance_event_info.go b/vendor/github.com/avinetworks/sdk/go/models/audit_compliance_event_info.go new file mode 100644 index 000000000..168a78f72 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/audit_compliance_event_info.go @@ -0,0 +1,33 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// AuditComplianceEventInfo audit compliance event info +// swagger:model AuditComplianceEventInfo +type AuditComplianceEventInfo struct { + + // Detailed report of the audit event. Field introduced in 20.1.3. + DetailedReason *string `json:"detailed_reason,omitempty"` + + // Information identifying physical location for audit event (e.g. Santa Clara (USA), Bengaluru (India)). Field introduced in 20.1.3. + Location *string `json:"location,omitempty"` + + // Protocol used for communication to the external entity. Enum options - SSH1_0, TLS1_2, HTTPS1_0, HTTP_PLAIN_TEXT, HTTPS_INSECURE, SSH2_0. Field introduced in 20.1.3. + // Required: true + Protocol *string `json:"protocol"` + + // Summarized failure of the transaction (e.g. Invalid request, expired certificate). Field introduced in 20.1.3. + // Required: true + Result *string `json:"result"` + + // Subjects of audit event. Field introduced in 20.1.3. Minimum of 1 items required. + Subjects []*ACSubjectInfo `json:"subjects,omitempty"` + + // Type of audit event. Enum options - AUDIT_INVALID_CREDENTIALS, AUDIT_NAME_RESOLUTION_ERROR, AUDIT_DIAL_X509_ERROR, AUDIT_SECURE_KEY_EXCHANGE_BAD_REQUEST_FORMAT, AUDIT_SECURE_KEY_EXCHANGE_BAD_CLIENT_TYPE, AUDIT_SECURE_KEY_EXCHANGE_FIELD_NOT_FOUND, AUDIT_SECURE_KEY_EXCHANGE_BAD_FIELD_VALUE, AUDIT_SECURE_KEY_EXCHANGE_INVALID_AUTHORIZATION, AUDIT_SECURE_KEY_EXCHANGE_INTERNAL_ERROR, AUDIT_SECURE_KEY_EXCHANGE_CERTIFICATE_VERIFY_ERROR, AUDIT_SECURE_KEY_EXCHANGE_RESPONSE_ERROR. Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` + + // List of users (username etc) related to the audit event. Field introduced in 20.1.3. Minimum of 1 items required. + UserIdentities []*ACUserIdentity `json:"user_identities,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/auth_attribute_match.go b/vendor/github.com/avinetworks/sdk/go/models/auth_attribute_match.go index b314ec65f..96cfd948d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auth_attribute_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auth_attribute_match.go @@ -11,7 +11,7 @@ type AuthAttributeMatch struct { // Required: true AttributeName *string `json:"attribute_name"` - // Attribute Values used to determine access when authentication applies. Field introduced in 18.2.5. + // Attribute Values used to determine access when authentication applies. Field introduced in 18.2.5. Allowed in Basic edition, Essentials edition, Enterprise edition. // Required: true AttributeValueList *StringMatch `json:"attribute_value_list"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/auth_mapping_rule.go b/vendor/github.com/avinetworks/sdk/go/models/auth_mapping_rule.go index 912cf6300..454db0bd1 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auth_mapping_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auth_mapping_rule.go @@ -16,6 +16,9 @@ type AuthMappingRule struct { // Enum options - ASSIGN_ALL, ASSIGN_FROM_SELECT_LIST, ASSIGN_MATCHING_GROUP_NAME, ASSIGN_MATCHING_ATTRIBUTE_VALUE, ASSIGN_MATCHING_GROUP_REGEX, ASSIGN_MATCHING_ATTRIBUTE_REGEX. AssignTenant *string `json:"assign_tenant,omitempty"` + // Assignment rule for the User Account Profile. Enum options - ASSIGN_ALL, ASSIGN_FROM_SELECT_LIST, ASSIGN_MATCHING_GROUP_NAME, ASSIGN_MATCHING_ATTRIBUTE_VALUE, ASSIGN_MATCHING_GROUP_REGEX, ASSIGN_MATCHING_ATTRIBUTE_REGEX. Field introduced in 20.1.3. + AssignUserprofile *string `json:"assign_userprofile,omitempty"` + // Placeholder for description of property attribute_match of obj type AuthMappingRule field type str type object AttributeMatch *AuthMatchAttribute `json:"attribute_match,omitempty"` @@ -29,7 +32,7 @@ type AuthMappingRule struct { // Placeholder for description of property is_superuser of obj type AuthMappingRule field type str type boolean IsSuperuser *bool `json:"is_superuser,omitempty"` - // Object Access Policies to assign to user on successful match. It is a reference to an object of type ObjectAccessPolicy. Field introduced in 18.2.7, 20.1.1. + // Object Access Policies to assign to user on successful match. It is a reference to an object of type ObjectAccessPolicy. Field deprecated in 20.1.2. Field introduced in 18.2.7, 20.1.1. ObjectAccessPolicyRefs []string `json:"object_access_policy_refs,omitempty"` // Attribute name for Object Access Policy assignment. Field introduced in 18.2.7, 20.1.1. @@ -46,4 +49,10 @@ type AuthMappingRule struct { // It is a reference to an object of type Tenant. TenantRefs []string `json:"tenant_refs,omitempty"` + + // Attribute name for User Account Profile assignment. Field introduced in 20.1.3. + UserprofileAttributeName *string `json:"userprofile_attribute_name,omitempty"` + + // User Account Profile to assign to user on successful match. It is a reference to an object of type UserAccountProfile. Field introduced in 20.1.3. + UserprofileRef *string `json:"userprofile_ref,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/auth_match_attribute.go b/vendor/github.com/avinetworks/sdk/go/models/auth_match_attribute.go index 66367810d..02022635d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auth_match_attribute.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auth_match_attribute.go @@ -8,7 +8,8 @@ package models type AuthMatchAttribute struct { // rule match criteria. Enum options - AUTH_MATCH_CONTAINS, AUTH_MATCH_DOES_NOT_CONTAIN, AUTH_MATCH_REGEX. - Criteria *string `json:"criteria,omitempty"` + // Required: true + Criteria *string `json:"criteria"` // Name of the object. Name *string `json:"name,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/auth_match_group_membership.go b/vendor/github.com/avinetworks/sdk/go/models/auth_match_group_membership.go index e9db121df..353cd9325 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auth_match_group_membership.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auth_match_group_membership.go @@ -8,7 +8,8 @@ package models type AuthMatchGroupMembership struct { // rule match criteria. Enum options - AUTH_MATCH_CONTAINS, AUTH_MATCH_DOES_NOT_CONTAIN, AUTH_MATCH_REGEX. - Criteria *string `json:"criteria,omitempty"` + // Required: true + Criteria *string `json:"criteria"` // groups of AuthMatchGroupMembership. Groups []string `json:"groups,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/auth_profile.go b/vendor/github.com/avinetworks/sdk/go/models/auth_profile.go index fc69ded29..7b5e95fda 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auth_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auth_profile.go @@ -17,8 +17,8 @@ type AuthProfile struct { // HTTP user authentication params. HTTP *AuthProfileHTTPClientParams `json:"http,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. - Labels []*KeyValue `json:"labels,omitempty"` + // JWTServerProfile to be used for authentication. It is a reference to an object of type JWTServerProfile. Field introduced in 20.1.3. + JwtProfileRef *string `json:"jwt_profile_ref,omitempty"` // LDAP server and directory settings. Ldap *LdapAuthSettings `json:"ldap,omitempty"` @@ -27,7 +27,7 @@ type AuthProfile struct { // Required: true Name *string `json:"name"` - // PingAccessAgent uuid. It is a reference to an object of type PingAccessAgent. Field introduced in 18.2.3. + // PingAccessAgent uuid. It is a reference to an object of type PingAccessAgent. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. PaAgentRef *string `json:"pa_agent_ref,omitempty"` // SAML settings. Field introduced in 17.2.3. @@ -39,7 +39,7 @@ type AuthProfile struct { // It is a reference to an object of type Tenant. TenantRef *string `json:"tenant_ref,omitempty"` - // Type of the Auth Profile. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS. + // Type of the Auth Profile. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/authentication_rule.go b/vendor/github.com/avinetworks/sdk/go/models/authentication_rule.go index b977b774a..7aca36479 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/authentication_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/authentication_rule.go @@ -18,7 +18,7 @@ type AuthenticationRule struct { // Required: true Index *int32 `json:"index"` - // Add match criteria to the rule. Field introduced in 18.2.5. + // Add match criteria to the rule. Field introduced in 18.2.5. Allowed in Basic edition, Essentials edition, Enterprise edition. Match *AuthenticationMatch `json:"match,omitempty"` // Name of the rule. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/authn_rule_match.go b/vendor/github.com/avinetworks/sdk/go/models/authn_rule_match.go new file mode 100644 index 000000000..3b943f059 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/authn_rule_match.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// AuthnRuleMatch authn rule match +// swagger:model AuthnRuleMatch +type AuthnRuleMatch struct { + + // Name of the executed Authentication rule Action. Enum options - SKIP_AUTHENTICATION, USE_DEFAULT_AUTHENTICATION. Field introduced in 20.1.3. + RuleAction *string `json:"rule_action,omitempty"` + + // Name of the matched Authentication rule. Field introduced in 20.1.3. + RuleName *string `json:"rule_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/authorization_action.go b/vendor/github.com/avinetworks/sdk/go/models/authorization_action.go index 823b9bf01..f430b0ed8 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/authorization_action.go +++ b/vendor/github.com/avinetworks/sdk/go/models/authorization_action.go @@ -7,7 +7,7 @@ package models // swagger:model AuthorizationAction type AuthorizationAction struct { - // HTTP status code to use for local response when an policy rule is matched. Enum options - HTTP_RESPONSE_STATUS_CODE_403. Field introduced in 18.2.5. + // HTTP status code to use for local response when an policy rule is matched. Enum options - HTTP_RESPONSE_STATUS_CODE_401, HTTP_RESPONSE_STATUS_CODE_403. Field introduced in 18.2.5. StatusCode *string `json:"status_code,omitempty"` // Defines the action taken when an authorization policy rule is matched. By default, access is allowed to the requested resource. Enum options - ALLOW_ACCESS, CLOSE_CONNECTION, HTTP_LOCAL_RESPONSE. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/authorization_match.go b/vendor/github.com/avinetworks/sdk/go/models/authorization_match.go index b37dbccfe..34ec52253 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/authorization_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/authorization_match.go @@ -7,7 +7,10 @@ package models // swagger:model AuthorizationMatch type AuthorizationMatch struct { - // Attributes whose values need to be matched . Field introduced in 18.2.5. + // Access Token claims to be matched. Field introduced in 20.1.3. + AccessToken *JWTMatch `json:"access_token,omitempty"` + + // Attributes whose values need to be matched . Field introduced in 18.2.5. Allowed in Basic edition, Essentials edition, Enterprise edition. AttrMatches []*AuthAttributeMatch `json:"attr_matches,omitempty"` // Host header value to be matched. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/authorization_rule.go b/vendor/github.com/avinetworks/sdk/go/models/authorization_rule.go index b4b53e2fb..6e0f08765 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/authorization_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/authorization_rule.go @@ -19,7 +19,7 @@ type AuthorizationRule struct { // Required: true Index *int32 `json:"index"` - // Authorization match criteria for the rule. Field introduced in 18.2.5. + // Authorization match criteria for the rule. Field introduced in 18.2.5. Allowed in Basic edition, Essentials edition, Enterprise edition. // Required: true Match *AuthorizationMatch `json:"match"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/authz_rule_match.go b/vendor/github.com/avinetworks/sdk/go/models/authz_rule_match.go new file mode 100644 index 000000000..6b1fdd83c --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/authz_rule_match.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// AuthzRuleMatch authz rule match +// swagger:model AuthzRuleMatch +type AuthzRuleMatch struct { + + // Name of the executed Authorization rule Action. Enum options - ALLOW_ACCESS, CLOSE_CONNECTION, HTTP_LOCAL_RESPONSE. Field introduced in 20.1.3. + RuleAction *string `json:"rule_action,omitempty"` + + // Name of the matched Authorization rule. Field introduced in 20.1.3. + RuleName *string `json:"rule_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/auto_scale_launch_config.go b/vendor/github.com/avinetworks/sdk/go/models/auto_scale_launch_config.go index c501657c1..5875eafc7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/auto_scale_launch_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/auto_scale_launch_config.go @@ -17,7 +17,7 @@ type AutoScaleLaunchConfig struct { // Unique ID of the Amazon Machine Image (AMI) or OpenStack VM ID. ImageID *string `json:"image_id,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Placeholder for description of property mesos of obj type AutoScaleLaunchConfig field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/availability_zone.go b/vendor/github.com/avinetworks/sdk/go/models/availability_zone.go index 94c5fcd3c..879096223 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/availability_zone.go +++ b/vendor/github.com/avinetworks/sdk/go/models/availability_zone.go @@ -28,6 +28,6 @@ type AvailabilityZone struct { // Availability zone config UUID. Field introduced in 20.1.1. UUID *string `json:"uuid,omitempty"` - // Group of VCenter list belong to availabilty zone. It is a reference to an object of type VCenterServer. Field introduced in 20.1.1. + // Group of VCenter list belong to availabilty zone. It is a reference to an object of type VCenterServer. Field introduced in 20.1.1. Minimum of 1 items required. VcenterRefs []string `json:"vcenter_refs,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details.go b/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details.go deleted file mode 100644 index aed5927dc..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details.go +++ /dev/null @@ -1,21 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// AviCloudCRSDetails avi cloud c r s details -// swagger:model AviCloudCRSDetails -type AviCloudCRSDetails struct { - - // Name of the CRS release. Field introduced in 18.2.6. - Name *string `json:"name,omitempty"` - - // CRS release date. Field introduced in 18.2.6. - ReleaseDate *string `json:"release_date,omitempty"` - - // Download link of the CRS release. Field introduced in 18.2.6. - URL *string `json:"url,omitempty"` - - // Version of the CRS release. Field introduced in 18.2.6. - Version *string `json:"version,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details_api_response.go deleted file mode 100644 index a13debb5a..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_c_r_s_details_api_response.go +++ /dev/null @@ -1,17 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// AviCloudCRSDetailsAPIResponse avi cloud c r s details Api response -// swagger:model AviCloudCRSDetailsApiResponse -type AviCloudCRSDetailsAPIResponse struct { - - // count - // Required: true - Count *int32 `json:"count"` - - // results - // Required: true - Results []*AviCloudCRSDetails `json:"results,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_status_details.go b/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_status_details.go deleted file mode 100644 index fe2a6ae30..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/avi_cloud_status_details.go +++ /dev/null @@ -1,18 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// AviCloudStatusDetails avi cloud status details -// swagger:model AviCloudStatusDetails -type AviCloudStatusDetails struct { - - // Connection status of the controller cluster to Avi Cloud. Enum options - AVICLOUD_CONNECTIVITY_UNKNOWN, AVICLOUD_DISCONNECTED, AVICLOUD_CONNECTED. Field introduced in 18.2.6. - Connectivity *string `json:"connectivity,omitempty"` - - // Status change reason. Field introduced in 18.2.6. - Reason *string `json:"reason,omitempty"` - - // Registration status of the controller cluster to Avi Cloud. Enum options - AVICLOUD_REGISTRATION_UNKNOWN, AVICLOUD_REGISTERED, AVICLOUD_DEREGISTERED. Field introduced in 18.2.6. - Registration *string `json:"registration,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/azure_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/azure_configuration.go index d390a61ff..0974be2a4 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/azure_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/azure_configuration.go @@ -19,7 +19,7 @@ type AzureConfiguration struct { // Azure location where this cloud will be located. Field introduced in 17.2.1. Location *string `json:"location,omitempty"` - // Azure virtual network and subnet information. Field introduced in 17.2.1. + // Azure virtual network and subnet information. Field introduced in 17.2.1. Minimum of 1 items required. Maximum of 1 items allowed. NetworkInfo []*AzureNetworkInfo `json:"network_info,omitempty"` // Azure resource group dedicated for Avi Controller. Avi Controller will create all its resources in this resource group. Field introduced in 17.2.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/backup_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/backup_configuration.go index ece8aa203..bdcb988c4 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/backup_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/backup_configuration.go @@ -11,13 +11,13 @@ type BackupConfiguration struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // AWS Access Key ID. Field introduced in 18.2.3. + // AWS Access Key ID. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. AwsAccessKey *string `json:"aws_access_key,omitempty"` - // AWS bucket. Field introduced in 18.2.3. + // AWS bucket. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. AwsBucketID *string `json:"aws_bucket_id,omitempty"` - // AWS Secret Access Key. Field introduced in 18.2.3. + // AWS Secret Access Key. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. AwsSecretAccess *string `json:"aws_secret_access,omitempty"` // Prefix of the exported configuration file. Field introduced in 17.1.1. @@ -51,7 +51,7 @@ type BackupConfiguration struct { // Remote Backup. UploadToRemoteHost *bool `json:"upload_to_remote_host,omitempty"` - // Cloud Backup. Field introduced in 18.2.3. + // Cloud Backup. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. UploadToS3 *bool `json:"upload_to_s3,omitempty"` // url diff --git a/vendor/github.com/avinetworks/sdk/go/models/bgp_profile.go b/vendor/github.com/avinetworks/sdk/go/models/bgp_profile.go index 7a8f23f84..7fa1409fc 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/bgp_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/bgp_profile.go @@ -7,7 +7,7 @@ package models // swagger:model BgpProfile type BgpProfile struct { - // Community *string either in aa nn format where aa, nn is within [1,65535] or local-AS|no-advertise|no-export|internet. Field introduced in 17.1.2. + // Community *string either in aa nn format where aa, nn is within [1,65535] or local-AS|no-advertise|no-export|internet. Field introduced in 17.1.2. Maximum of 16 items allowed. Community []string `json:"community,omitempty"` // Hold time for Peers. Allowed values are 3-7200. @@ -17,7 +17,7 @@ type BgpProfile struct { // Required: true Ibgp *bool `json:"ibgp"` - // Communities per IP address range. Field introduced in 17.1.3. + // Communities per IP address range. Field introduced in 17.1.3. Maximum of 1024 items allowed. IPCommunities []*IPCommunity `json:"ip_communities,omitempty"` // Keepalive interval for Peers. Allowed values are 0-3600. @@ -33,10 +33,10 @@ type BgpProfile struct { // Number of times the local AS should be prepended additionally. Allowed values are 1-10. Field introduced in 20.1.1. NumAsPathPrepend *int32 `json:"num_as_path_prepend,omitempty"` - // BGP Peers. + // BGP Peers. Maximum of 128 items allowed. Peers []*BgpPeer `json:"peers,omitempty"` - // Learning and advertising options for BGP peers. Field introduced in 20.1.1. + // Learning and advertising options for BGP peers. Field introduced in 20.1.1. Maximum of 128 items allowed. RoutingOptions []*BgpRoutingOptions `json:"routing_options,omitempty"` // Send community attribute to all peers. Field introduced in 17.1.2. diff --git a/vendor/github.com/avinetworks/sdk/go/models/burst_resource.go b/vendor/github.com/avinetworks/sdk/go/models/burst_resource.go deleted file mode 100644 index e8ac1a113..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/burst_resource.go +++ /dev/null @@ -1,27 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// BurstResource burst resource -// swagger:model BurstResource -type BurstResource struct { - - // License ID against which this burst has been accounted. Field introduced in 17.2.5. - AccountedLicenseID *string `json:"accounted_license_id,omitempty"` - - // Time UTC of the last alert created for this burst resource. Field introduced in 17.2.5. - LastAlertTime *string `json:"last_alert_time,omitempty"` - - // Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. - LicenseTier *string `json:"license_tier,omitempty"` - - // Field introduced in 17.2.5. - SeCookie *string `json:"se_cookie,omitempty"` - - // Service Engine which triggered the burst license usage. Field introduced in 17.2.5. - SeUUID *string `json:"se_uuid,omitempty"` - - // Time UTC when the burst license was put in use. Field introduced in 17.2.5. - StartTime *string `json:"start_time,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/c_c_vnic_info.go b/vendor/github.com/avinetworks/sdk/go/models/c_c_vnic_info.go index 2c54da76b..dc0640b13 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/c_c_vnic_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/c_c_vnic_info.go @@ -17,7 +17,7 @@ type CCVnicInfo struct { // Unique object identifier of port. PortUUID *string `json:"port_uuid,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... Status *string `json:"status,omitempty"` // status_string of CC_VnicInfo. diff --git a/vendor/github.com/avinetworks/sdk/go/models/certificate_management_profile.go b/vendor/github.com/avinetworks/sdk/go/models/certificate_management_profile.go index a5bb9f558..e47755ddb 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/certificate_management_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/certificate_management_profile.go @@ -15,12 +15,15 @@ type CertificateManagementProfile struct { // Required: true Name *string `json:"name"` + // Alert script config object for certificate management profile. It is a reference to an object of type AlertScriptConfig. Field introduced in 20.1.3. + // Required: true + RunScriptRef *string `json:"run_script_ref"` + // Placeholder for description of property script_params of obj type CertificateManagementProfile field type str type object ScriptParams []*CustomParams `json:"script_params,omitempty"` - // script_path of CertificateManagementProfile. - // Required: true - ScriptPath *string `json:"script_path"` + // Field deprecated in 20.1.3. + ScriptPath *string `json:"script_path,omitempty"` // It is a reference to an object of type Tenant. TenantRef *string `json:"tenant_ref,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/cfg_state.go b/vendor/github.com/avinetworks/sdk/go/models/cfg_state.go index c4db7ca31..c3a3887fa 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/cfg_state.go +++ b/vendor/github.com/avinetworks/sdk/go/models/cfg_state.go @@ -22,7 +22,7 @@ type CfgState struct { // site_uuid to which the object was synced. SiteUUID *string `json:"site_uuid,omitempty"` - // Status of the object. . 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_BAD_REQUEST, SYSERR_TEST1... + // Status of the object. . 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... Status *string `json:"status,omitempty"` // object-uuid that is being synced to follower. . diff --git a/vendor/github.com/avinetworks/sdk/go/models/client_log_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/client_log_configuration.go index 9f414e1c1..78f8e99dd 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/client_log_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/client_log_configuration.go @@ -7,7 +7,7 @@ package models // swagger:model ClientLogConfiguration type ClientLogConfiguration struct { - // Enable significant log collection. By default, this flag is enabled, which means that Avi SEs collect significant logs and forward them to Controller for further processing. For example, these logs correspond to error conditions such as when the response code for a request is 500. Users can disable this flag to turn off default significant log collection. + // Enable significant log collection. By default, this flag is enabled, which means that Avi SEs collect significant logs and forward them to Controller for further processing. For example, these logs correspond to error conditions such as when the response code for a request is 500. Users can deactivate this flag to turn off default significant log collection. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is True. EnableSignificantLogCollection *bool `json:"enable_significant_log_collection,omitempty"` // Filtered logs are logs that match any client log filters or rules with logging enabled. Such logs are processed by the Logs Analytics system according to this setting. Enum options - LOGS_PROCESSING_NONE, LOGS_PROCESSING_SYNC_AND_INDEX_ON_DEMAND, LOGS_PROCESSING_AUTO_SYNC_AND_INDEX, LOGS_PROCESSING_AUTO_SYNC_BUT_INDEX_ON_DEMAND. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/cloud.go b/vendor/github.com/avinetworks/sdk/go/models/cloud.go index 8a0cd6ad2..ccfc44f35 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/cloud.go +++ b/vendor/github.com/avinetworks/sdk/go/models/cloud.go @@ -14,16 +14,16 @@ type Cloud struct { // Placeholder for description of property apic_configuration of obj type Cloud field type str type object ApicConfiguration *APICConfiguration `json:"apic_configuration,omitempty"` - // Placeholder for description of property apic_mode of obj type Cloud field type str type boolean + // Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ApicMode *bool `json:"apic_mode,omitempty"` - // CloudConnector polling interval in seconds for external autoscale groups, minimum 60 seconds. Allowed values are 60-3600. Field introduced in 18.2.2. Unit is SECONDS. + // CloudConnector polling interval in seconds for external autoscale groups, minimum 60 seconds. Allowed values are 60-3600. Field introduced in 18.2.2. Unit is SECONDS. Allowed in Basic(Allowed values- 60) edition, Essentials(Allowed values- 60) edition, Enterprise edition. AutoscalePollingInterval *int32 `json:"autoscale_polling_interval,omitempty"` // Placeholder for description of property aws_configuration of obj type Cloud field type str type object AwsConfiguration *AwsConfiguration `json:"aws_configuration,omitempty"` - // Field introduced in 17.2.1. + // Field introduced in 17.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. AzureConfiguration *AzureConfiguration `json:"azure_configuration,omitempty"` // Placeholder for description of property cloudstack_configuration of obj type Cloud field type str type object @@ -38,7 +38,7 @@ type Cloud struct { // DNS Profile for the cloud. It is a reference to an object of type IpamDnsProviderProfile. DNSProviderRef *string `json:"dns_provider_ref,omitempty"` - // By default, pool member FQDNs are resolved on the Controller. When this is set, pool member FQDNs are instead resolved on Service Engines in this cloud. This is useful in scenarios where pool member FQDNs can only be resolved from Service Engines and not from the Controller. Field introduced in 18.2.6. + // By default, pool member FQDNs are resolved on the Controller. When this is set, pool member FQDNs are instead resolved on Service Engines in this cloud. This is useful in scenarios where pool member FQDNs can only be resolved from Service Engines and not from the Controller. Field introduced in 18.2.6. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. DNSResolutionOnSe *bool `json:"dns_resolution_on_se,omitempty"` // Placeholder for description of property docker_configuration of obj type Cloud field type str type object @@ -56,7 +56,7 @@ type Cloud struct { // Use static routes for VIP side network resolution during VirtualService placement. EnableVipStaticRoutes *bool `json:"enable_vip_static_routes,omitempty"` - // Google Cloud Platform Configuration. Field introduced in 18.2.1. + // Google Cloud Platform Configuration. Field introduced in 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. GcpConfiguration *GCPConfiguration `json:"gcp_configuration,omitempty"` // Enable IPv6 auto configuration. Field introduced in 18.1.1. @@ -65,7 +65,7 @@ type Cloud struct { // Ipam Profile for the cloud. It is a reference to an object of type IpamDnsProviderProfile. IPAMProviderRef *string `json:"ipam_provider_ref,omitempty"` - // Specifies the default license tier which would be used by new SE Groups. This field by default inherits the value from system configuration. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. + // Specifies the default license tier which would be used by new SE Groups. This field by default inherits the value from system configuration. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC, ESSENTIALS. Field introduced in 17.2.5. LicenseTier *string `json:"license_tier,omitempty"` // If no license type is specified then default license enforcement for the cloud type is chosen. The default mappings are Container Cloud is Max Ses, OpenStack and VMware is cores and linux it is Sockets. Enum options - LIC_BACKEND_SERVERS, LIC_SOCKETS, LIC_CORES, LIC_HOSTS, LIC_SE_BANDWIDTH, LIC_METERED_SE_BANDWIDTH. @@ -87,7 +87,7 @@ type Cloud struct { // Configuration parameters for NSX Manager. Field introduced in 17.1.1. NsxConfiguration *NsxConfiguration `json:"nsx_configuration,omitempty"` - // NSX-T Cloud Platform Configuration. Field introduced in 20.1.1. + // NSX-T Cloud Platform Configuration. Field introduced in 20.1.1. Allowed in Essentials edition, Enterprise edition. NsxtConfiguration *NsxtConfiguration `json:"nsxt_configuration,omitempty"` // Default prefix for all automatically created objects in this cloud. This prefix can be overridden by the SE-Group template. @@ -111,7 +111,7 @@ type Cloud struct { // The Service Engine Group to use as template. It is a reference to an object of type ServiceEngineGroup. Field introduced in 18.2.5. SeGroupTemplateRef *string `json:"se_group_template_ref,omitempty"` - // DNS records for VIPs are added/deleted based on the operational state of the VIPs. Field introduced in 17.1.12. + // DNS records for VIPs are added/deleted based on the operational state of the VIPs. Field introduced in 17.1.12. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. StateBasedDNSRegistration *bool `json:"state_based_dns_registration,omitempty"` // It is a reference to an object of type Tenant. @@ -130,7 +130,7 @@ type Cloud struct { // Placeholder for description of property vcenter_configuration of obj type Cloud field type str type object VcenterConfiguration *VCenterConfiguration `json:"vcenter_configuration,omitempty"` - // Cloud type. Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. + // Cloud type. Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. Allowed in Basic(Allowed values- CLOUD_NONE,CLOUD_NSXT) edition, Essentials(Allowed values- CLOUD_NONE,CLOUD_VCENTER) edition, Enterprise edition. // Required: true Vtype *string `json:"vtype"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/cloud_connector_user.go b/vendor/github.com/avinetworks/sdk/go/models/cloud_connector_user.go index a2c06e1aa..569184dbc 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/cloud_connector_user.go +++ b/vendor/github.com/avinetworks/sdk/go/models/cloud_connector_user.go @@ -11,23 +11,23 @@ type CloudConnectorUser struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // Field introduced in 17.2.1. + // Field introduced in 17.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. AzureServiceprincipal *AzureServicePrincipalCredentials `json:"azure_serviceprincipal,omitempty"` - // Field introduced in 17.2.1. + // Field introduced in 17.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. AzureUserpass *AzureUserPassCredentials `json:"azure_userpass,omitempty"` - // Credentials for Google Cloud Platform. Field introduced in 18.2.1. + // Credentials for Google Cloud Platform. Field introduced in 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. GcpCredentials *GCPCredentials `json:"gcp_credentials,omitempty"` // Name of the object. // Required: true Name *string `json:"name"` - // Credentials to talk to NSX-T manager. Field introduced in 20.1.1. + // Credentials to talk to NSX-T manager. Field introduced in 20.1.1. Allowed in Essentials edition, Enterprise edition. NsxtCredentials *NsxtCredentials `json:"nsxt_credentials,omitempty"` - // Credentials for Oracle Cloud Infrastructure. Field introduced in 18.2.1,18.1.3. + // Credentials for Oracle Cloud Infrastructure. Field introduced in 18.2.1,18.1.3. Allowed in Basic edition, Essentials edition, Enterprise edition. OciCredentials *OCICredentials `json:"oci_credentials,omitempty"` // password of CloudConnectorUser. @@ -42,7 +42,7 @@ type CloudConnectorUser struct { // It is a reference to an object of type Tenant. TenantRef *string `json:"tenant_ref,omitempty"` - // Credentials for Tencent Cloud. Field introduced in 18.2.3. + // Credentials for Tencent Cloud. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. TencentCredentials *TencentCredentials `json:"tencent_credentials,omitempty"` // url diff --git a/vendor/github.com/avinetworks/sdk/go/models/cloud_route_notif_details.go b/vendor/github.com/avinetworks/sdk/go/models/cloud_route_notif_details.go new file mode 100644 index 000000000..f97538a8d --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/cloud_route_notif_details.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// CloudRouteNotifDetails cloud route notif details +// swagger:model CloudRouteNotifDetails +type CloudRouteNotifDetails struct { + + // Cloud id. Field introduced in 20.1.3. + CcID *string `json:"cc_id,omitempty"` + + // Detailed reason for the route update notification. Field introduced in 20.1.3. + Reason *string `json:"reason,omitempty"` + + // Name of route table for which update was performed. Field introduced in 20.1.3. + RouteTable *string `json:"route_table,omitempty"` + + // Names of routes for which update was performed. Field introduced in 20.1.3. + Routes []string `json:"routes,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/cluster.go b/vendor/github.com/avinetworks/sdk/go/models/cluster.go deleted file mode 100644 index 5cd0e0c12..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/cluster.go +++ /dev/null @@ -1,36 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// Cluster cluster -// swagger:model Cluster -type Cluster struct { - - // UNIX time since epoch in microseconds. Units(MICROSECONDS). - // Read Only: true - LastModified *string `json:"_last_modified,omitempty"` - - // Name of the object. - // Required: true - Name *string `json:"name"` - - // Placeholder for description of property nodes of obj type Cluster field type str type object - Nodes []*ClusterNode `json:"nodes,omitempty"` - - // Re-join cluster nodes automatically in the event one of the node is reset to factory. - RejoinNodesAutomatically *bool `json:"rejoin_nodes_automatically,omitempty"` - - // It is a reference to an object of type Tenant. - TenantRef *string `json:"tenant_ref,omitempty"` - - // url - // Read Only: true - URL *string `json:"url,omitempty"` - - // Unique object identifier of the object. - UUID *string `json:"uuid,omitempty"` - - // A virtual IP address. This IP address will be dynamically reconfigured so that it always is the IP of the cluster leader. - VirtualIP *IPAddr `json:"virtual_ip,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/config_user_authrz_by_rule.go b/vendor/github.com/avinetworks/sdk/go/models/config_user_authrz_by_rule.go index 669385fb0..54a9338b5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/config_user_authrz_by_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/config_user_authrz_by_rule.go @@ -21,4 +21,7 @@ type ConfigUserAuthrzByRule struct { // Request user. User *string `json:"user,omitempty"` + + // assigned user account profile name. Field introduced in 20.1.3. + Userprofile *string `json:"userprofile,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/config_user_login.go b/vendor/github.com/avinetworks/sdk/go/models/config_user_login.go index 40c3754ec..deee3ef8f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/config_user_login.go +++ b/vendor/github.com/avinetworks/sdk/go/models/config_user_login.go @@ -10,6 +10,9 @@ type ConfigUserLogin struct { // client ip. ClientIP *string `json:"client_ip,omitempty"` + // Type of client used to login UI, CLI, others(API). Field introduced in 20.1.3. + ClientType *string `json:"client_type,omitempty"` + // error message if authentication failed. ErrorMessage *string `json:"error_message,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/conn_pool_properties.go b/vendor/github.com/avinetworks/sdk/go/models/conn_pool_properties.go index 1ceb35028..bac5d3166 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/conn_pool_properties.go +++ b/vendor/github.com/avinetworks/sdk/go/models/conn_pool_properties.go @@ -7,13 +7,13 @@ package models // swagger:model ConnPoolProperties type ConnPoolProperties struct { - // Connection idle timeout. Field introduced in 18.2.1. + // Connection idle timeout. Field introduced in 18.2.1. Allowed in Basic(Allowed values- 60000) edition, Essentials(Allowed values- 60000) edition, Enterprise edition. UpstreamConnpoolConnIDLETmo *int32 `json:"upstream_connpool_conn_idle_tmo,omitempty"` - // Connection life timeout. Field introduced in 18.2.1. + // Connection life timeout. Field introduced in 18.2.1. Allowed in Basic(Allowed values- 600000) edition, Essentials(Allowed values- 600000) edition, Enterprise edition. UpstreamConnpoolConnLifeTmo *int32 `json:"upstream_connpool_conn_life_tmo,omitempty"` - // Maximum number of times a connection can be reused. Special values are 0- 'unlimited'. Field introduced in 18.2.1. + // Maximum number of times a connection can be reused. Special values are 0- 'unlimited'. Field introduced in 18.2.1. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. UpstreamConnpoolConnMaxReuse *int32 `json:"upstream_connpool_conn_max_reuse,omitempty"` // Maximum number of connections a server can cache. Special values are 0- 'unlimited'. Field introduced in 18.2.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/content_rewrite_profile.go b/vendor/github.com/avinetworks/sdk/go/models/content_rewrite_profile.go index 555fe356b..43e0de6b8 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/content_rewrite_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/content_rewrite_profile.go @@ -7,10 +7,10 @@ package models // swagger:model ContentRewriteProfile type ContentRewriteProfile struct { - // Strings to be matched and replaced with on the request body. + // Strings to be matched and replaced with on the request body. This should be configured when request_rewrite_enabled is set to true. This is currently not supported. ReqMatchReplacePair []*MatchReplacePair `json:"req_match_replace_pair,omitempty"` - // Enable rewrite on request body. + // Enable rewrite on request body. This is not currently supported. RequestRewriteEnabled *bool `json:"request_rewrite_enabled,omitempty"` // Enable rewrite on response body. @@ -19,6 +19,6 @@ type ContentRewriteProfile struct { // Rewrite only content types listed in this *string group. Content types not present in this list are not rewritten. It is a reference to an object of type StringGroup. RewritableContentRef *string `json:"rewritable_content_ref,omitempty"` - // Strings to be matched and replaced with on the response body. + // Strings to be matched and replaced with on the response body. This should be configured when response_rewrite_enabled is set to true. RspMatchReplacePair []*MatchReplacePair `json:"rsp_match_replace_pair,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/controller_license.go b/vendor/github.com/avinetworks/sdk/go/models/controller_license.go deleted file mode 100644 index 81cc0151f..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/controller_license.go +++ /dev/null @@ -1,73 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// ControllerLicense controller license -// swagger:model ControllerLicense -type ControllerLicense struct { - - // UNIX time since epoch in microseconds. Units(MICROSECONDS). - // Read Only: true - LastModified *string `json:"_last_modified,omitempty"` - - // List of active burst core license in use. Field introduced in 17.2.5. - ActiveBurstResources []*BurstResource `json:"active_burst_resources,omitempty"` - - // Total number of Service Engine cores for burst core based licenses. Field introduced in 17.2.5. - BurstCores *int32 `json:"burst_cores,omitempty"` - - // Number of Service Engine cores in non-container clouds. - Cores *int32 `json:"cores,omitempty"` - - // customer_name of ControllerLicense. - // Required: true - CustomerName *string `json:"customer_name"` - - // Field introduced in 17.2.5. - DisableEnforcement *bool `json:"disable_enforcement,omitempty"` - - // List of used or expired burst core licenses. Field introduced in 17.2.5. - ExpiredBurstResources []*BurstResource `json:"expired_burst_resources,omitempty"` - - // Field introduced in 17.2.5. - LicenseID *string `json:"license_id,omitempty"` - - // license_tier of ControllerLicense. - LicenseTier []string `json:"license_tier,omitempty"` - - // Field introduced in 17.2.5. - LicenseTiers []*CumulativeLicense `json:"license_tiers,omitempty"` - - // Placeholder for description of property licenses of obj type ControllerLicense field type str type object - Licenses []*SingleLicense `json:"licenses,omitempty"` - - // Number of Service Engines hosts in container clouds. - MaxSes *int32 `json:"max_ses,omitempty"` - - // Name of the object. - Name *string `json:"name,omitempty"` - - // Service Engine bandwidth limits for bandwidth based licenses. Field introduced in 17.2.5. - SeBandwidthLimits []*SEBandwidthLimit `json:"se_bandwidth_limits,omitempty"` - - // Number of vmware service cores after aggregating all other license types. Field introduced in 20.1.1. - ServiceCores *float64 `json:"service_cores,omitempty"` - - // Number of physical cpu sockets across Service Engines in no access and linux server clouds. - Sockets *int32 `json:"sockets,omitempty"` - - // start_on of ControllerLicense. - StartOn *string `json:"start_on,omitempty"` - - // url - // Read Only: true - URL *string `json:"url,omitempty"` - - // Unique object identifier of the object. - UUID *string `json:"uuid,omitempty"` - - // valid_until of ControllerLicense. - // Required: true - ValidUntil *string `json:"valid_until"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/controller_limits.go b/vendor/github.com/avinetworks/sdk/go/models/controller_limits.go index 1a6d18d90..afdfa18b3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/controller_limits.go +++ b/vendor/github.com/avinetworks/sdk/go/models/controller_limits.go @@ -13,7 +13,7 @@ type ControllerLimits struct { // Controller system limits specific to cloud type for all controller sizes. Field introduced in 20.1.1. ControllerCloudLimits []*ControllerCloudLimits `json:"controller_cloud_limits,omitempty"` - // Controller system limits specific to controller sizing. Field introduced in 20.1.1. + // Controller system limits specific to controller sizing. Field introduced in 20.1.1. Maximum of 3 items allowed. ControllerSizingLimits []*ControllerSizingLimits `json:"controller_sizing_limits,omitempty"` // Maximum number of default routes per vrfcontext. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/controller_properties.go b/vendor/github.com/avinetworks/sdk/go/models/controller_properties.go index 32f93f6e8..d652249f5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/controller_properties.go +++ b/vendor/github.com/avinetworks/sdk/go/models/controller_properties.go @@ -29,9 +29,15 @@ type ControllerProperties struct { // Threshold to log request timing in portal_performance.log and Server-Timing response header. Any stage taking longer than 1% of the threshold will be included in the Server-Timing header. Field introduced in 18.1.4, 18.2.1. Unit is MILLISECONDS. APIPerfLoggingThreshold *int32 `json:"api_perf_logging_threshold,omitempty"` - // Export configuration in appviewx compatibility mode. Field introduced in 17.1.1. + // Export configuration in appviewx compatibility mode. Field introduced in 17.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AppviewxCompatMode *bool `json:"appviewx_compat_mode,omitempty"` + // Period for which asynchronous patch requests are queued. Allowed values are 30-120. Special values are 0 - 'Deactivated'. Field introduced in 18.2.11, 20.1.3. Unit is SEC. + AsyncPatchMergePeriod *int32 `json:"async_patch_merge_period,omitempty"` + + // Duration for which asynchronous patch requests should be kept, after being marked as SUCCESS or FAIL. Allowed values are 5-120. Field introduced in 18.2.11, 20.1.3. Unit is MIN. + AsyncPatchRequestCleanupDuration *int32 `json:"async_patch_request_cleanup_duration,omitempty"` + // Unit is SEC. AttachIPRetryInterval *int32 `json:"attach_ip_retry_interval,omitempty"` @@ -56,6 +62,9 @@ type ControllerProperties struct { // Period for consistency check job. Field introduced in 18.1.1. Unit is MIN. ConsistencyCheckTimeoutPeriod *int32 `json:"consistency_check_timeout_period,omitempty"` + // Periodically collect stats. Field introduced in 20.1.3. Unit is MIN. + ControllerResourceInfoCollectionPeriod *int32 `json:"controller_resource_info_collection_period,omitempty"` + // Unit is SEC. CrashedSeReboot *int32 `json:"crashed_se_reboot,omitempty"` @@ -65,7 +74,7 @@ type ControllerProperties struct { // Minimum api timeout value.If this value is not 60, it will be the default timeout for all APIs that do not have a specific timeout.If an API has a specific timeout but is less than this value, this value will become the new timeout. Allowed values are 60-3600. Field introduced in 18.2.6. Unit is SEC. DefaultMinimumAPITimeout *int32 `json:"default_minimum_api_timeout,omitempty"` - // Period for refresh pool and gslb DNS job. Unit is MIN. + // Period for refresh pool and gslb DNS job. Unit is MIN. Allowed in Basic(Allowed values- 60) edition, Essentials(Allowed values- 60) edition, Enterprise edition. DNSRefreshPeriod *int32 `json:"dns_refresh_period,omitempty"` // Number of dummy. @@ -104,10 +113,13 @@ type ControllerProperties struct { // Number of max_seq_vnic_failures. MaxSeqVnicFailures *int32 `json:"max_seq_vnic_failures,omitempty"` + // Maximum number of threads in threadpool used by cloud connector CCVIPBGWorker. Allowed values are 1-100. Field introduced in 20.1.3. + MaxThreadsCcVipBgWorker *int32 `json:"max_threads_cc_vip_bg_worker,omitempty"` + // Network and VrfContext objects from the admin tenant will not be shared to non-admin tenants unless admin permissions are granted. Field introduced in 18.2.7, 20.1.1. PermissionScopedSharedAdminNetworks *bool `json:"permission_scoped_shared_admin_networks,omitempty"` - // Period for rotate app persistence keys job. Allowed values are 1-1051200. Special values are 0 - 'Disabled'. Unit is MIN. + // Period for rotate app persistence keys job. Allowed values are 1-1051200. Special values are 0 - 'Disabled'. Unit is MIN. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. PersistenceKeyRotatePeriod *int32 `json:"persistence_key_rotate_period,omitempty"` // Burst limit on number of incoming requests0 to disable. Field introduced in 20.1.1. @@ -176,7 +188,7 @@ type ControllerProperties struct { // Unit is SEC. UnresponsiveSeReboot *int32 `json:"unresponsive_se_reboot,omitempty"` - // Time to account for DNS TTL during upgrade. This is in addition to vs_scalein_timeout_for_upgrade in se_group. Field introduced in 17.1.1. Unit is SEC. + // Time to account for DNS TTL during upgrade. This is in addition to vs_scalein_timeout_for_upgrade in se_group. Field introduced in 17.1.1. Unit is SEC. Allowed in Basic(Allowed values- 5) edition, Essentials(Allowed values- 5) edition, Enterprise edition. UpgradeDNSTTL *int32 `json:"upgrade_dns_ttl,omitempty"` // Amount of time Controller waits for a large-sized SE (>=128GB memory) to reconnect after it is rebooted during upgrade. Field introduced in 18.2.10, 20.1.1. Unit is SEC. diff --git a/vendor/github.com/avinetworks/sdk/go/models/cumulative_license.go b/vendor/github.com/avinetworks/sdk/go/models/cumulative_license.go deleted file mode 100644 index 20bc9f5c7..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/cumulative_license.go +++ /dev/null @@ -1,30 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// CumulativeLicense cumulative license -// swagger:model CumulativeLicense -type CumulativeLicense struct { - - // Total number of Service Engine cores for burst core based licenses. Field introduced in 17.2.5. - BurstCores *int32 `json:"burst_cores,omitempty"` - - // Total number of Service Engine cores for core based licenses. Field introduced in 17.2.5. - Cores *int32 `json:"cores,omitempty"` - - // Total number of Service Engines for host based licenses. Field introduced in 17.2.5. - MaxSes *int32 `json:"max_ses,omitempty"` - - // Service Engine bandwidth limits for bandwidth based licenses. Field introduced in 17.2.5. - SeBandwidthLimits []*SEBandwidthLimit `json:"se_bandwidth_limits,omitempty"` - - // Total number of Service Engine cores.. Field introduced in 20.1.1. - ServiceCores *float64 `json:"service_cores,omitempty"` - - // Total number of Service Engine sockets for socket based licenses. Field introduced in 17.2.5. - Sockets *int32 `json:"sockets,omitempty"` - - // Specifies the licensed tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. - TierType *string `json:"tier_type,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info.go b/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info.go deleted file mode 100644 index 27dc1cc23..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info.go +++ /dev/null @@ -1,27 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// CustomerPortalInfo customer portal info -// swagger:model CustomerPortalInfo -type CustomerPortalInfo struct { - - // UNIX time since epoch in microseconds. Units(MICROSECONDS). - // Read Only: true - LastModified *string `json:"_last_modified,omitempty"` - - // Time interval in minutes. Allowed values are 5-60. Field introduced in 18.2.6. - PollingInterval *int32 `json:"polling_interval,omitempty"` - - // The FQDN or IP address of the customer portal. Field introduced in 18.2.6. - // Required: true - PortalURL *string `json:"portal_url"` - - // url - // Read Only: true - URL *string `json:"url,omitempty"` - - // Field introduced in 18.2.6. - UUID *string `json:"uuid,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info_api_response.go deleted file mode 100644 index 035fd7ef5..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/customer_portal_info_api_response.go +++ /dev/null @@ -1,17 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// CustomerPortalInfoAPIResponse customer portal info Api response -// swagger:model CustomerPortalInfoApiResponse -type CustomerPortalInfoAPIResponse struct { - - // count - // Required: true - Count *int32 `json:"count"` - - // results - // Required: true - Results []*CustomerPortalInfo `json:"results,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/d_s_request_log.go b/vendor/github.com/avinetworks/sdk/go/models/d_s_request_log.go new file mode 100644 index 000000000..0817a6db8 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/d_s_request_log.go @@ -0,0 +1,66 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// DSRequestLog d s request log +// swagger:model DSRequestLog +type DSRequestLog struct { + + // Name of the DataScript where this request was called. Field introduced in 20.1.3. + DsName *string `json:"ds_name,omitempty"` + + // DataScript event where out-of-band request was sent. Enum options - VS_DATASCRIPT_EVT_HTTP_REQ, VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_REQ_DATA, VS_DATASCRIPT_EVT_HTTP_RESP_FAILED, VS_DATASCRIPT_EVT_HTTP_LB_DONE, VS_DATASCRIPT_EVT_HTTP_AUTH, VS_DATASCRIPT_EVT_HTTP_POST_AUTH, VS_DATASCRIPT_EVT_TCP_CLIENT_ACCEPT, VS_DATASCRIPT_EVT_SSL_HANDSHAKE_DONE, VS_DATASCRIPT_EVT_DNS_REQ, VS_DATASCRIPT_EVT_DNS_RESP, VS_DATASCRIPT_EVT_L4_REQUEST, VS_DATASCRIPT_EVT_L4_RESPONSE, VS_DATASCRIPT_EVT_MAX. Field introduced in 20.1.3. + Event *string `json:"event,omitempty"` + + // Response headers received from the server. Field introduced in 20.1.3. + HeadersReceivedFromServer *string `json:"headers_received_from_server,omitempty"` + + // Request headers sent to the server. Field introduced in 20.1.3. + HeadersSentToServer *string `json:"headers_sent_to_server,omitempty"` + + // The HTTP response code received from the external server. Field introduced in 20.1.3. + HTTPResponseCode *int32 `json:"http_response_code,omitempty"` + + // The HTTP version of the out-of-band request. Field introduced in 20.1.3. + HTTPVersion *string `json:"http_version,omitempty"` + + // The HTTP method of the out-of-band request. Field introduced in 20.1.3. + Method *string `json:"method,omitempty"` + + // The name of the pool that was used for the request. Field introduced in 20.1.3. + PoolName *string `json:"pool_name,omitempty"` + + // The uuid of the pool that was used for the request. Field introduced in 20.1.3. + PoolUUID *string `json:"pool_uuid,omitempty"` + + // Length of the request sent in bytes. Field introduced in 20.1.3. Unit is BYTES. + RequestLength *int64 `json:"request_length,omitempty"` + + // Length of the response received in bytes. Field introduced in 20.1.3. Unit is BYTES. + ResponseLength *int64 `json:"response_length,omitempty"` + + // The IP of the server that was used for the request. Field introduced in 20.1.3. + ServerIP *int32 `json:"server_ip,omitempty"` + + // The name of the server that was used for the request. Field introduced in 20.1.3. + ServerName *string `json:"server_name,omitempty"` + + // The port of the server that was used for the request. Field introduced in 20.1.3. + ServerPort *int32 `json:"server_port,omitempty"` + + // Number of servers tried during server reselect before the response is sent back. Field introduced in 20.1.3. + ServersTried *int32 `json:"servers_tried,omitempty"` + + // The source port for this request. Field introduced in 20.1.3. + SourcePort *int32 `json:"source_port,omitempty"` + + // Total time taken to process the Out-of-Band request. This is the time taken from the 1st byte of the request sent to the last byte of the response received. Field introduced in 20.1.3. Unit is MILLISECONDS. + TotalTime *int64 `json:"total_time,omitempty"` + + // The URI path of the out-of-band request. Field introduced in 20.1.3. + URIPath *string `json:"uri_path,omitempty"` + + // The URI query of the out-of-band request. Field introduced in 20.1.3. + URIQuery *string `json:"uri_query,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/debug_dns_options.go b/vendor/github.com/avinetworks/sdk/go/models/debug_dns_options.go index b6d389689..1b0ad308c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/debug_dns_options.go +++ b/vendor/github.com/avinetworks/sdk/go/models/debug_dns_options.go @@ -7,9 +7,9 @@ package models // swagger:model DebugDnsOptions type DebugDNSOptions struct { - // This field filters the FQDN for Dns debug. Field introduced in 18.2.1. + // This field filters the FQDN for Dns debug. Field introduced in 18.2.1. Maximum of 1 items allowed. DomainName []string `json:"domain_name,omitempty"` - // This field filters the Gslb service for Dns debug. Field introduced in 18.2.1. + // This field filters the Gslb service for Dns debug. Field introduced in 18.2.1. Maximum of 1 items allowed. GslbServiceName []string `json:"gslb_service_name,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/debug_service_engine.go b/vendor/github.com/avinetworks/sdk/go/models/debug_service_engine.go index 162d59bd4..59e59d5d0 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/debug_service_engine.go +++ b/vendor/github.com/avinetworks/sdk/go/models/debug_service_engine.go @@ -11,6 +11,18 @@ type DebugServiceEngine struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` + // Action to be invoked at configured layer. Enum options - SE_BENCHMARK_MODE_DROP, SE_BENCHMARK_MODE_REFLECT. Field introduced in 20.1.3. + BenchmarkAction *string `json:"benchmark_action,omitempty"` + + // Toggle and configure the layer to benchmark performance. This can be done at a specific point in the SE packet processing pipeline. Enum options - SE_BENCHMARK_LAYER_NONE, SE_BENCHMARK_LAYER_POST_VNIC_RX, SE_BENCHMARK_LAYER_POST_FT_LOOKUP, SE_BENCHMARK_LAYER_NSP_LOOKUP, SE_BENCHMARK_LAYER_PRE_PROXY_PUNT, SE_BENCHMARK_LAYER_POST_PROXY_PUNT, SE_BENCHMARK_LAYER_ETHER_INPUT, SE_BENCHMARK_LAYER_IP_INPUT, SE_BENCHMARK_LAYER_UDP_INPUT. Field introduced in 20.1.3. + BenchmarkLayer *string `json:"benchmark_layer,omitempty"` + + // Configure different reflect modes. Enum options - SE_BENCHMARK_REFLECT_SWAP_L4, SE_BENCHMARK_REFLECT_SWAP_L2, SE_BENCHMARK_REFLECT_SWAP_L3. Field introduced in 20.1.3. + BenchmarkOption *string `json:"benchmark_option,omitempty"` + + // RSS Hash function to be used for packet reflect in TX path. Enum options - SE_BENCHMARK_DISABLE_HASH, SE_BENCHMARK_RTE_SOFT_HASH. Field introduced in 20.1.3. + BenchmarkRssHash *string `json:"benchmark_rss_hash,omitempty"` + // Enable/disable packet capture. Field introduced in 18.2.2. Capture *bool `json:"capture,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service.go b/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service.go index 22456cb3e..c41100e83 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service.go @@ -39,6 +39,9 @@ type DebugVirtualService struct { // Required: true Name *string `json:"name"` + // Object sync debug options. Field introduced in 20.1.3. + Objsync *DebugVirtualServiceObjSync `json:"objsync,omitempty"` + // This option re-synchronizes flows between Active-Standby service engines for all the virtual services placed on them. It should be used with caution because as it can cause a flood between Active-Standby. Field introduced in 18.1.3,18.2.1. ResyncFlows *bool `json:"resync_flows,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service_obj_sync.go b/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service_obj_sync.go new file mode 100644 index 000000000..fe04f44c2 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/debug_virtual_service_obj_sync.go @@ -0,0 +1,12 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// DebugVirtualServiceObjSync debug virtual service obj sync +// swagger:model DebugVirtualServiceObjSync +type DebugVirtualServiceObjSync struct { + + // Triggers Initial Sync on all the SEs of this VS. Field introduced in 20.1.3. + TriggerInitialSync *bool `json:"trigger_initial_sync,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_edns_option.go b/vendor/github.com/avinetworks/sdk/go/models/dns_edns_option.go index 9a3bd97c3..1d01e8919 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_edns_option.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_edns_option.go @@ -22,4 +22,7 @@ type DNSEdnsOption struct { // IPv4 address of the client subnet. Field introduced in 17.1.1. SubnetIP *int32 `json:"subnet_ip,omitempty"` + + // IPv6 address of the client subnet. Field introduced in 18.2.12, 20.1.3. + SubnetIp6 *string `json:"subnet_ip6,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_policy.go b/vendor/github.com/avinetworks/sdk/go/models/dns_policy.go index b9633103d..e0f8f2c0c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_policy.go @@ -17,7 +17,7 @@ type DNSPolicy struct { // Field introduced in 17.1.1. Description *string `json:"description,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the DNS Policy. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_query_name_match.go b/vendor/github.com/avinetworks/sdk/go/models/dns_query_name_match.go index 2856580d5..ec4be517f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_query_name_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_query_name_match.go @@ -7,7 +7,7 @@ package models // swagger:model DnsQueryNameMatch type DNSQueryNameMatch struct { - // Criterion to use for *string matching the DNS query domain name in the question section. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. Field introduced in 17.1.1. + // Criterion to use for *string matching the DNS query domain name in the question section. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. Field introduced in 17.1.1. Allowed in Basic(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Essentials(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Enterprise edition. // Required: true MatchCriteria *string `json:"match_criteria"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_record.go b/vendor/github.com/avinetworks/sdk/go/models/dns_record.go index 34046e75b..48c358882 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_record.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_record.go @@ -19,34 +19,34 @@ type DNSRecord struct { // Details of DNS record. Description *string `json:"description,omitempty"` - // Fully Qualified Domain Name. + // Fully Qualified Domain Name. Minimum of 1 items required. Fqdn []string `json:"fqdn,omitempty"` - // IPv6 address in AAAA record. Field introduced in 18.1.1. + // IPv6 address in AAAA record. Field introduced in 18.1.1. Maximum of 4 items allowed. Ip6Address []*DNSAAAARdata `json:"ip6_address,omitempty"` - // IP address in A record. + // IP address in A record. Maximum of 4 items allowed. IPAddress []*DNSARdata `json:"ip_address,omitempty"` // Internal metadata for the DNS record. Field introduced in 18.2.5. Metadata *string `json:"metadata,omitempty"` - // MX record. Field introduced in 18.2.9, 20.1.1. + // MX record. Field introduced in 18.2.9, 20.1.1. Maximum of 4 items allowed. MxRecords []*DNSMxRdata `json:"mx_records,omitempty"` - // Name Server information in NS record. Field introduced in 17.1.1. + // Name Server information in NS record. Field introduced in 17.1.1. Maximum of 13 items allowed. Ns []*DNSNsRdata `json:"ns,omitempty"` // Specifies the number of records returned by the DNS service. Enter 0 to return all records. Default is 0. Allowed values are 0-20. Special values are 0- 'Return all records'. Field introduced in 17.1.1. NumRecordsInResponse *int32 `json:"num_records_in_response,omitempty"` - // Service locator info in SRV record. + // Service locator info in SRV record. Maximum of 4 items allowed. ServiceLocator []*DNSSrvRdata `json:"service_locator,omitempty"` // Time To Live for this DNS record. TTL *int32 `json:"ttl,omitempty"` - // Text record. Field introduced in 18.2.9, 20.1.1. + // Text record. Field introduced in 18.2.9, 20.1.1. Maximum of 4 items allowed. TxtRecords []*DNSTxtRdata `json:"txt_records,omitempty"` // DNS record type. Enum options - DNS_RECORD_OTHER, DNS_RECORD_A, DNS_RECORD_NS, DNS_RECORD_CNAME, DNS_RECORD_SOA, DNS_RECORD_PTR, DNS_RECORD_HINFO, DNS_RECORD_MX, DNS_RECORD_TXT, DNS_RECORD_RP, DNS_RECORD_DNSKEY, DNS_RECORD_AAAA, DNS_RECORD_SRV, DNS_RECORD_OPT, DNS_RECORD_RRSIG, DNS_RECORD_AXFR, DNS_RECORD_ANY. diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_rule_action_gslb_site_selection.go b/vendor/github.com/avinetworks/sdk/go/models/dns_rule_action_gslb_site_selection.go index 87307c25f..449bbc003 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_rule_action_gslb_site_selection.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_rule_action_gslb_site_selection.go @@ -7,7 +7,7 @@ package models // swagger:model DnsRuleActionGslbSiteSelection type DNSRuleActionGslbSiteSelection struct { - // GSLB fallback sites to use in case the desired site is down. Field introduced in 17.2.5. + // GSLB fallback sites to use in case the desired site is down. Field introduced in 17.2.5. Maximum of 64 items allowed. FallbackSiteNames []string `json:"fallback_site_names,omitempty"` // When set to true, GSLB site is a preferred site. This setting comes into play when the site is down, as well as no configured fallback site is available (all fallback sites are also down), then any one available site is selected based on the default algorithm for GSLB pool member selection. Field introduced in 17.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/dns_service_application_profile.go b/vendor/github.com/avinetworks/sdk/go/models/dns_service_application_profile.go index fe31fff74..85309769c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/dns_service_application_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dns_service_application_profile.go @@ -13,16 +13,16 @@ type DNSServiceApplicationProfile struct { // Email address of the administrator responsible for this zone . This field is used in SOA records (rname) pertaining to all domain names specified as authoritative domain names. If not configured, the default value 'hostmaster' is used in SOA responses. Field introduced in 18.2.5. AdminEmail *string `json:"admin_email,omitempty"` - // Domain names authoritatively serviced by this Virtual Service. These are configured as Ends-With semantics. Queries for FQDNs that are subdomains of this domain and do not have any DNS record in Avi are dropped or NXDomain response sent. . Field deprecated in 18.2.6. Field introduced in 17.1.6,17.2.2. + // Domain names authoritatively serviced by this Virtual Service. These are configured as Ends-With semantics. Queries for FQDNs that are subdomains of this domain and do not have any DNS record in Avi are dropped or NXDomain response sent. . Field deprecated in 18.2.6. Field introduced in 17.1.6,17.2.2. Maximum of 100 items allowed. AuthoritativeDomainNames []string `json:"authoritative_domain_names,omitempty"` // Enable DNS query/response over TCP. This enables analytics for pass-through queries as well. Field introduced in 17.1.1. DNSOverTCPEnabled *bool `json:"dns_over_tcp_enabled,omitempty"` - // DNS zones hosted on this Virtual Service. Field introduced in 18.2.6. + // DNS zones hosted on this Virtual Service. Field introduced in 18.2.6. Maximum of 100 items allowed. DNSZones []*DNSZone `json:"dns_zones,omitempty"` - // Subdomain names serviced by this Virtual Service. These are configured as Ends-With semantics. + // Subdomain names serviced by this Virtual Service. These are configured as Ends-With semantics. Maximum of 100 items allowed. DomainNames []string `json:"domain_names,omitempty"` // Enable stripping of EDNS client subnet (ecs) option towards client if DNS service inserts ecs option in the DNS query towards upstream servers. Field introduced in 17.1.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record.go b/vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record.go new file mode 100644 index 000000000..6a7e1e95a --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record.go @@ -0,0 +1,77 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// DynamicDNSRecord dynamic Dns record +// swagger:model DynamicDnsRecord +type DynamicDNSRecord struct { + + // UNIX time since epoch in microseconds. Units(MICROSECONDS). + // Read Only: true + LastModified *string `json:"_last_modified,omitempty"` + + // Specifies the algorithm to pick the IP address(es) to be returned,when multiple entries are configured. This does not apply if num_records_in_response is 0. Default is round-robin. Enum options - DNS_RECORD_RESPONSE_ROUND_ROBIN, DNS_RECORD_RESPONSE_CONSISTENT_HASH. Field introduced in 20.1.3. + Algorithm *string `json:"algorithm,omitempty"` + + // Canonical name in CNAME record. Field introduced in 20.1.3. + Cname *DNSCnameRdata `json:"cname,omitempty"` + + // Configured FQDNs are delegated domains (i.e. they represent a zone cut). Field introduced in 20.1.3. + Delegated *bool `json:"delegated,omitempty"` + + // Details of DNS record. Field introduced in 20.1.3. + Description *string `json:"description,omitempty"` + + // UUID of the DNS VS. Field introduced in 20.1.3. + DNSVsUUID *string `json:"dns_vs_uuid,omitempty"` + + // Fully Qualified Domain Name. Field introduced in 20.1.3. + Fqdn *string `json:"fqdn,omitempty"` + + // IPv6 address in AAAA record. Field introduced in 20.1.3. Maximum of 4 items allowed. + Ip6Address []*DNSAAAARdata `json:"ip6_address,omitempty"` + + // IP address in A record. Field introduced in 20.1.3. Maximum of 4 items allowed. + IPAddress []*DNSARdata `json:"ip_address,omitempty"` + + // Internal metadata for the DNS record. Field introduced in 20.1.3. + Metadata *string `json:"metadata,omitempty"` + + // MX record. Field introduced in 20.1.3. Maximum of 4 items allowed. + MxRecords []*DNSMxRdata `json:"mx_records,omitempty"` + + // DynamicDnsRecord name, needed for a top level uuid protobuf, for display in shell. Field introduced in 20.1.3. + Name *string `json:"name,omitempty"` + + // Name Server information in NS record. Field introduced in 20.1.3. Maximum of 13 items allowed. + Ns []*DNSNsRdata `json:"ns,omitempty"` + + // Specifies the number of records returned by the DNS service.Enter 0 to return all records. Default is 0. Allowed values are 0-20. Special values are 0- 'Return all records'. Field introduced in 20.1.3. + NumRecordsInResponse *int32 `json:"num_records_in_response,omitempty"` + + // Service locator info in SRV record. Field introduced in 20.1.3. Maximum of 4 items allowed. + ServiceLocators []*DNSSrvRdata `json:"service_locators,omitempty"` + + // tenant_uuid from Dns VS's tenant_uuid. It is a reference to an object of type Tenant. Field introduced in 20.1.3. + TenantRef *string `json:"tenant_ref,omitempty"` + + // Time To Live for this DNS record. Field introduced in 20.1.3. + TTL *int32 `json:"ttl,omitempty"` + + // Text record. Field introduced in 20.1.3. Maximum of 4 items allowed. + TxtRecords []*DNSTxtRdata `json:"txt_records,omitempty"` + + // DNS record type. Enum options - DNS_RECORD_OTHER, DNS_RECORD_A, DNS_RECORD_NS, DNS_RECORD_CNAME, DNS_RECORD_SOA, DNS_RECORD_PTR, DNS_RECORD_HINFO, DNS_RECORD_MX, DNS_RECORD_TXT, DNS_RECORD_RP, DNS_RECORD_DNSKEY, DNS_RECORD_AAAA, DNS_RECORD_SRV, DNS_RECORD_OPT, DNS_RECORD_RRSIG, DNS_RECORD_AXFR, DNS_RECORD_ANY. Field introduced in 20.1.3. + Type *string `json:"type,omitempty"` + + // url + // Read Only: true + URL *string `json:"url,omitempty"` + + // UUID of the dns record. Field introduced in 20.1.3. + UUID *string `json:"uuid,omitempty"` + + // Enable wild-card match of fqdn if an exact match is not found in the DNS table, the longest match is chosen by wild-carding the fqdn in the DNS request. Default is false. Field introduced in 20.1.3. + WildcardMatch *bool `json:"wildcard_match,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/controller_license_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record_api_response.go similarity index 55% rename from vendor/github.com/avinetworks/sdk/go/models/controller_license_api_response.go rename to vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record_api_response.go index ef8a53aa2..e07051337 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/controller_license_api_response.go +++ b/vendor/github.com/avinetworks/sdk/go/models/dynamic_dns_record_api_response.go @@ -3,9 +3,9 @@ package models // This file is auto-generated. // Please contact avi-sdk@avinetworks.com for any change requests. -// ControllerLicenseAPIResponse controller license Api response -// swagger:model ControllerLicenseApiResponse -type ControllerLicenseAPIResponse struct { +// DynamicDNSRecordAPIResponse dynamic Dns record Api response +// swagger:model DynamicDnsRecordApiResponse +type DynamicDNSRecordAPIResponse struct { // count // Required: true @@ -16,5 +16,5 @@ type ControllerLicenseAPIResponse struct { // results // Required: true - Results []*ControllerLicense `json:"results,omitempty"` + Results []*DynamicDNSRecord `json:"results,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/error_page.go b/vendor/github.com/avinetworks/sdk/go/models/error_page.go index 22f4ca7ec..1b9d71b3c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/error_page.go +++ b/vendor/github.com/avinetworks/sdk/go/models/error_page.go @@ -19,6 +19,6 @@ type ErrorPage struct { // Index of the error page. Field introduced in 17.2.4. Index *int32 `json:"index,omitempty"` - // Add match criteria for http status codes to the error page. Field introduced in 17.2.4. + // Add match criteria for http status codes to the error page. Field introduced in 17.2.4. Allowed in Basic edition, Essentials edition, Enterprise edition. Match *HttpstatusMatch `json:"match,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/error_page_body.go b/vendor/github.com/avinetworks/sdk/go/models/error_page_body.go index 7b0f2d7cf..36d7b25f6 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/error_page_body.go +++ b/vendor/github.com/avinetworks/sdk/go/models/error_page_body.go @@ -17,7 +17,7 @@ type ErrorPageBody struct { // Format of an error page body HTML or JSON. Enum options - ERROR_PAGE_FORMAT_HTML, ERROR_PAGE_FORMAT_JSON. Field introduced in 18.2.3. Format *string `json:"format,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Field introduced in 17.2.4. diff --git a/vendor/github.com/avinetworks/sdk/go/models/error_page_profile.go b/vendor/github.com/avinetworks/sdk/go/models/error_page_profile.go index 65e84e55f..fd09a7b14 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/error_page_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/error_page_profile.go @@ -23,7 +23,7 @@ type ErrorPageProfile struct { // Fully qualified domain name for which the error page is generated. Field deprecated in 18.1.1. Field introduced in 17.2.4. HostName *string `json:"host_name,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.3. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Field introduced in 17.2.4. diff --git a/vendor/github.com/avinetworks/sdk/go/models/event_details.go b/vendor/github.com/avinetworks/sdk/go/models/event_details.go index 76f6ad612..87cb27324 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/event_details.go +++ b/vendor/github.com/avinetworks/sdk/go/models/event_details.go @@ -106,6 +106,9 @@ type EventDetails struct { // Placeholder for description of property cloud_autoscaling_config_failure_details of obj type EventDetails field type str type object CloudAutoscalingConfigFailureDetails *CloudAutoscalingConfigFailureDetails `json:"cloud_autoscaling_config_failure_details,omitempty"` + // Cloud Routes event. Field introduced in 20.1.3. + CloudRouteNotifDetails *CloudRouteNotifDetails `json:"cloud_route_notif_details,omitempty"` + // Placeholder for description of property cluster_config_failed_details of obj type EventDetails field type str type object ClusterConfigFailedDetails *ClusterConfigFailedEvent `json:"cluster_config_failed_details,omitempty"` @@ -223,6 +226,9 @@ type EventDetails struct { // Placeholder for description of property gcp_info of obj type EventDetails field type str type object GcpInfo *GCPSetup `json:"gcp_info,omitempty"` + // Placeholder for description of property generic_audit_compliance_event_info of obj type EventDetails field type str type object + GenericAuditComplianceEventInfo *AuditComplianceEventInfo `json:"generic_audit_compliance_event_info,omitempty"` + // Placeholder for description of property glb_info of obj type EventDetails field type str type object GlbInfo *GslbStatus `json:"glb_info,omitempty"` @@ -247,9 +253,15 @@ type EventDetails struct { // Placeholder for description of property license_expiry_details of obj type EventDetails field type str type object LicenseExpiryDetails *LicenseExpiryDetails `json:"license_expiry_details,omitempty"` + // Placeholder for description of property license_tier_switch_details of obj type EventDetails field type str type object + LicenseTierSwitchDetails *LicenseTierSwitchDetiails `json:"license_tier_switch_details,omitempty"` + // Placeholder for description of property license_transaction_details of obj type EventDetails field type str type object LicenseTransactionDetails *LicenseTransactionDetails `json:"license_transaction_details,omitempty"` + // Placeholder for description of property log_agent_event_details of obj type EventDetails field type str type object + LogAgentEventDetails *LogAgentEventDetail `json:"log_agent_event_details,omitempty"` + // Placeholder for description of property marathon_service_port_conflict_details of obj type EventDetails field type str type object MarathonServicePortConflictDetails *MarathonServicePortConflict `json:"marathon_service_port_conflict_details,omitempty"` @@ -436,9 +448,15 @@ type EventDetails struct { // Placeholder for description of property se_vs_fault_event_details of obj type EventDetails field type str type object SeVsFaultEventDetails *SeVsFaultEventDetails `json:"se_vs_fault_event_details,omitempty"` + // Field introduced in 18.2.11,20.1.3. + SeVsPktBufHighEventDetails *SeVsPktBufHighEventDetails `json:"se_vs_pkt_buf_high_event_details,omitempty"` + // Placeholder for description of property sec_mgr_data_event of obj type EventDetails field type str type object SecMgrDataEvent *SecMgrDataEvent `json:"sec_mgr_data_event,omitempty"` + // Placeholder for description of property secure_key_exchange_info of obj type EventDetails field type str type object + SecureKeyExchangeInfo *SecureKeyExchangeDetails `json:"secure_key_exchange_info,omitempty"` + // Placeholder for description of property semigrate_event_details of obj type EventDetails field type str type object SemigrateEventDetails *SeMigrateEventDetails `json:"semigrate_event_details,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/event_log.go b/vendor/github.com/avinetworks/sdk/go/models/event_log.go index 8213b0376..cf36b7a2a 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/event_log.go +++ b/vendor/github.com/avinetworks/sdk/go/models/event_log.go @@ -48,7 +48,7 @@ type EventLog struct { // Unique object identifier of obj. ObjUUID *string `json:"obj_uuid,omitempty"` - // Reason code for generating the event. This would be added to the alert where it would say alert generated on event with reason . 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_BAD_REQUEST, SYSERR_TEST1... + // Reason code for generating the event. This would be added to the alert where it would say alert generated on event with reason . 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... ReasonCode *string `json:"reason_code,omitempty"` // related objects corresponding to the events. diff --git a/vendor/github.com/avinetworks/sdk/go/models/fail_action.go b/vendor/github.com/avinetworks/sdk/go/models/fail_action.go index 29564bb31..f0b69dba3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/fail_action.go +++ b/vendor/github.com/avinetworks/sdk/go/models/fail_action.go @@ -16,7 +16,7 @@ type FailAction struct { // URL to redirect HTTP requests to when pool experiences a failure. Redirect *FailActionHTTPRedirect `json:"redirect,omitempty"` - // Enables a response to client when pool experiences a failure. By default TCP connection is closed. Enum options - FAIL_ACTION_HTTP_REDIRECT, FAIL_ACTION_HTTP_LOCAL_RSP, FAIL_ACTION_CLOSE_CONN, FAIL_ACTION_BACKUP_POOL. + // Enables a response to client when pool experiences a failure. By default TCP connection is closed. Enum options - FAIL_ACTION_HTTP_REDIRECT, FAIL_ACTION_HTTP_LOCAL_RSP, FAIL_ACTION_CLOSE_CONN, FAIL_ACTION_BACKUP_POOL. Allowed in Basic(Allowed values- FAIL_ACTION_CLOSE_CONN) edition, Essentials(Allowed values- FAIL_ACTION_CLOSE_CONN) edition, Enterprise edition. // Required: true Type *string `json:"type"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/file_object.go b/vendor/github.com/avinetworks/sdk/go/models/file_object.go index 4271469af..75703518b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/file_object.go +++ b/vendor/github.com/avinetworks/sdk/go/models/file_object.go @@ -48,7 +48,7 @@ type FileObject struct { // Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 20.1.1. TenantRef *string `json:"tenant_ref,omitempty"` - // Type of the file. Enum options - OTHER_FILE_TYPES, IP_REPUTATION, GEO_DB, TECH_SUPPORT, HSMPACKAGES, IPAMDNSSCRIPTS, CONTROLLER_IMAGE. Field introduced in 20.1.1. + // Type of the file. Enum options - OTHER_FILE_TYPES, IP_REPUTATION, GEO_DB, TECH_SUPPORT, HSMPACKAGES, IPAMDNSSCRIPTS, CONTROLLER_IMAGE. Field introduced in 20.1.1. Allowed in Basic(Allowed values- OTHER_FILE_TYPES) edition, Essentials(Allowed values- OTHER_FILE_TYPES) edition, Enterprise edition. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/flowtable_profile.go b/vendor/github.com/avinetworks/sdk/go/models/flowtable_profile.go index 34fb05b7c..69b4177d7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/flowtable_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/flowtable_profile.go @@ -7,6 +7,9 @@ package models // swagger:model FlowtableProfile type FlowtableProfile struct { + // Idle timeout in seconds for ICMP flows. Allowed values are 1-36000. Field introduced in 20.1.3. Unit is SECONDS. + IcmpIDLETimeout *int32 `json:"icmp_idle_timeout,omitempty"` + // Idle timeout in seconds for TCP flows in closed state. Allowed values are 1-36000. Field introduced in 18.2.5. Unit is SECONDS. TCPClosedTimeout *int32 `json:"tcp_closed_timeout,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/full_client_logs.go b/vendor/github.com/avinetworks/sdk/go/models/full_client_logs.go index f0b089ba3..6947a8551 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/full_client_logs.go +++ b/vendor/github.com/avinetworks/sdk/go/models/full_client_logs.go @@ -13,10 +13,10 @@ type FullClientLogs struct { // How long should the system capture all logs, measured in minutes. Set to 0 for infinite. Special values are 0 - 'infinite'. Unit is MIN. Duration *int32 `json:"duration,omitempty"` - // Capture all client logs including connections and requests. When disabled, only errors will be logged. + // Capture all client logs including connections and requests. When deactivated, only errors will be logged. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is False. // Required: true Enabled *bool `json:"enabled"` - // This setting limits the number of non-significant logs generated per second for this VS on each SE. Default is 10 logs per second. Set it to zero (0) to disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // This setting limits the number of non-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. Throttle *int32 `json:"throttle,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_configuration.go index 6213fc319..95e751530 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_configuration.go @@ -10,9 +10,12 @@ type GCPConfiguration struct { // Credentials to access Google Cloud Platform APIs. It is a reference to an object of type CloudConnectorUser. Field introduced in 18.2.1. CloudCredentialsRef *string `json:"cloud_credentials_ref,omitempty"` - // Key Resource ID of Customer-Managed Encryption Key (CMEK) used to encrypt Service Engine disks and images. Field introduced in 20.1.1. + // Deprecated, please use encryption_keys field. Field deprecated in 18.2.10, 20.1.2. Field introduced in 18.2.7, 20.1.1. EncryptionKeyID *string `json:"encryption_key_id,omitempty"` + // Encryption Keys for Google Cloud Services. Field introduced in 18.2.10, 20.1.2. + EncryptionKeys *GCPEncryptionKeys `json:"encryption_keys,omitempty"` + // Firewall rule network target tags which will be applied on Service Engines to allow ingress and egress traffic for Service Engines. Field introduced in 18.2.1. FirewallTargetTags []string `json:"firewall_target_tags,omitempty"` @@ -37,11 +40,11 @@ type GCPConfiguration struct { // Required: true SeProjectID *string `json:"se_project_id"` - // VIP allocation strategy defines how the VIPs will be created in Google Cloud. Field introduced in 20.1.1. + // VIP allocation strategy defines how the VIPs will be created in Google Cloud. Field introduced in 18.2.9, 20.1.1. // Required: true VipAllocationStrategy *GCPVIPAllocation `json:"vip_allocation_strategy"` - // Google Cloud Platform Zones where Service Engines will be distributed for HA. Field introduced in 18.2.1. + // Google Cloud Platform Zones where Service Engines will be distributed for HA. Field introduced in 18.2.1. Minimum of 1 items required. // Required: true Zones []string `json:"zones,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_encryption_keys.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_encryption_keys.go new file mode 100644 index 000000000..ae56d4fa9 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_encryption_keys.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// GCPEncryptionKeys g c p encryption keys +// swagger:model GCPEncryptionKeys +type GCPEncryptionKeys struct { + + // CMEK Resource ID to encrypt Google Cloud Storage Bucket. This Bucket is used to upload Service Engine raw image. Field introduced in 18.2.10, 20.1.2. + GcsBucketKmsKeyID *string `json:"gcs_bucket_kms_key_id,omitempty"` + + // CMEK Resource ID to encrypt Service Engine raw image. The raw image is a Google Cloud Storage Object. Field introduced in 18.2.10, 20.1.2. + GcsObjectsKmsKeyID *string `json:"gcs_objects_kms_key_id,omitempty"` + + // CMEK Resource ID to encrypt Service Engine Disks. Field introduced in 18.2.10, 20.1.2. + SeDiskKmsKeyID *string `json:"se_disk_kms_key_id,omitempty"` + + // CMEK Resource ID to encrypt Service Engine GCE Image. Field introduced in 18.2.10, 20.1.2. + SeImageKmsKeyID *string `json:"se_image_kms_key_id,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_se_group_config.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_se_group_config.go new file mode 100644 index 000000000..abb7baa70 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_se_group_config.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// GCPSeGroupConfig g c p se group config +// swagger:model GCPSeGroupConfig +type GCPSeGroupConfig struct { + + // Service Engine Backend Data Network Name, used only for GCP cloud.Overrides the cloud level setting for Backend Data Network in GCP Two Arm Mode. Field introduced in 20.1.3. + BackendDataVpcNetworkName *string `json:"backend_data_vpc_network_name,omitempty"` + + // Service Engine Backend Data Subnet Name, used only for GCP cloud.Overrides the cloud level setting for Backend Data Subnet in GCP Two Arm Mode. Field introduced in 20.1.3. + BackendDataVpcSubnetName *string `json:"backend_data_vpc_subnet_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_allocation.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_allocation.go index 10130c30e..3d2c678a0 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_allocation.go +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_allocation.go @@ -7,13 +7,13 @@ package models // swagger:model GCPVIPAllocation type GCPVIPAllocation struct { - // Configure Google Cloud Internal LoadBalancer for VIP. The VIP will be auto allocated from a Google Cloud VPC Subnet. Field introduced in 20.1.1. + // Configure Google Cloud Internal LoadBalancer for VIP. The VIP will be auto allocated from a Google Cloud VPC Subnet. Field introduced in 18.2.9, 20.1.1. Ilb *GCPVIPILB `json:"ilb,omitempty"` - // VIP Allocation Mode. Enum options - ROUTES, ILB. Field introduced in 20.1.1. + // VIP Allocation Mode. Enum options - ROUTES, ILB. Field introduced in 18.2.9, 20.1.1. // Required: true Mode *string `json:"mode"` - // Configure Google Cloud VPC Routes for VIP. The VIP can either be a static IP or auto allocted from AVI Internal Network. The VIP should not overlap with any of the subnet ranges in Google Cloud VPC. Field introduced in 20.1.1. + // Configure Google Cloud VPC Routes for VIP. The VIP can either be a static IP or auto allocted from AVI Internal Network. The VIP should not overlap with any of the subnet ranges in Google Cloud VPC. Field introduced in 18.2.9, 20.1.1. Routes *GCPVIPRoutes `json:"routes,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_i_l_b.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_i_l_b.go index 0c2232772..9c96f860c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_i_l_b.go +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_i_l_b.go @@ -7,6 +7,6 @@ package models // swagger:model GCPVIPILB type GCPVIPILB struct { - // Google Cloud Router Names to advertise BYOIP. Field introduced in 20.1.1. + // Google Cloud Router Names to advertise BYOIP. Field introduced in 18.2.9, 20.1.1. CloudRouterNames []string `json:"cloud_router_names,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_routes.go b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_routes.go index c2d9ba6c3..9ae22f2d3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_routes.go +++ b/vendor/github.com/avinetworks/sdk/go/models/g_c_p_v_ip_routes.go @@ -7,6 +7,6 @@ package models // swagger:model GCPVIPRoutes type GCPVIPRoutes struct { - // Match SE group subnets for VIP placement. Default is to not match SE group subnets. Field introduced in 20.1.1. + // Match SE group subnets for VIP placement. Default is to not match SE group subnets. Field introduced in 18.2.9, 20.1.1. MatchSeGroupSubnet *bool `json:"match_se_group_subnet,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/gslb.go b/vendor/github.com/avinetworks/sdk/go/models/gslb.go index da71eb382..c55cec855 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/gslb.go +++ b/vendor/github.com/avinetworks/sdk/go/models/gslb.go @@ -52,7 +52,7 @@ type Gslb struct { // The user can specify a send-interval while entering maintenance mode. The validity of this 'maintenance send-interval' is only during maintenance mode. When the user leaves maintenance mode, the original send-interval is reinstated. This internal variable is used to store the original send-interval. . Field introduced in 18.2.3. Unit is SEC. SendIntervalPriorToMaintenanceMode *int32 `json:"send_interval_prior_to_maintenance_mode,omitempty"` - // Select Avi site member belonging to this Gslb. + // Select Avi site member belonging to this Gslb. Minimum of 1 items required. Sites []*GslbSite `json:"sites,omitempty"` // It is a reference to an object of type Tenant. diff --git a/vendor/github.com/avinetworks/sdk/go/models/gslb_geo_db_profile.go b/vendor/github.com/avinetworks/sdk/go/models/gslb_geo_db_profile.go index faaa39325..6dafd7052 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/gslb_geo_db_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/gslb_geo_db_profile.go @@ -14,13 +14,13 @@ type GslbGeoDbProfile struct { // Field introduced in 17.1.1. Description *string `json:"description,omitempty"` - // List of Geodb entries. An entry can either be a geodb file or an ip address group with geo properties. . Field introduced in 17.1.1. + // List of Geodb entries. An entry can either be a geodb file or an ip address group with geo properties. . Field introduced in 17.1.1. Minimum of 1 items required. Entries []*GslbGeoDbEntry `json:"entries,omitempty"` // This field indicates that this object is replicated across GSLB federation. Field introduced in 17.1.3. IsFederated *bool `json:"is_federated,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // A user-friendly name for the geodb profile. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/gslb_pool.go b/vendor/github.com/avinetworks/sdk/go/models/gslb_pool.go index 04588f6b3..697018407 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/gslb_pool.go +++ b/vendor/github.com/avinetworks/sdk/go/models/gslb_pool.go @@ -26,7 +26,7 @@ type GslbPool struct { // The fallback load balancing algorithm used to pick a member when the pool algorithm fails to find a valid member. For instance when algorithm is Geo and client/server do not have valid geo location. Enum options - GSLB_ALGORITHM_ROUND_ROBIN, GSLB_ALGORITHM_CONSISTENT_HASH, GSLB_ALGORITHM_GEO, GSLB_ALGORITHM_TOPOLOGY. Field introduced in 18.2.3. FallbackAlgorithm *string `json:"fallback_algorithm,omitempty"` - // Select list of VIPs belonging to this GSLB service. + // Select list of VIPs belonging to this GSLB service. Minimum of 1 items required. Members []*GslbPoolMember `json:"members,omitempty"` // Minimum number of health monitors in UP state to mark the member UP. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/gslb_service.go b/vendor/github.com/avinetworks/sdk/go/models/gslb_service.go index cf88ea111..6d341e8d2 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/gslb_service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/gslb_service.go @@ -23,7 +23,7 @@ type GslbService struct { // User defined description for the object. Description *string `json:"description,omitempty"` - // Fully qualified domain name of the GSLB service. + // Fully qualified domain name of the GSLB service. Minimum of 1 items required. DomainNames []string `json:"domain_names,omitempty"` // Response to the client query when the GSLB service is DOWN. @@ -32,10 +32,10 @@ type GslbService struct { // Enable or disable the GSLB service. If the GSLB service is enabled, then the VIPs are sent in the DNS responses based on reachability and configured algorithm. If the GSLB service is disabled, then the VIPs are no longer available in the DNS response. Enabled *bool `json:"enabled,omitempty"` - // Select list of pools belonging to this GSLB service. + // Select list of pools belonging to this GSLB service. Minimum of 1 items required. Groups []*GslbPool `json:"groups,omitempty"` - // Verify VS health by applying one or more health monitors. Active monitors generate synthetic traffic from DNS Service Engine and to mark a VS up or down based on the response. . It is a reference to an object of type HealthMonitor. + // Verify VS health by applying one or more health monitors. Active monitors generate synthetic traffic from DNS Service Engine and to mark a VS up or down based on the response. . It is a reference to an object of type HealthMonitor. Maximum of 6 items allowed. HealthMonitorRefs []string `json:"health_monitor_refs,omitempty"` // Health monitor probe can be executed for all the members or it can be executed only for third-party members. This operational mode is useful to reduce the number of health monitor probes in case of a hybrid scenario. In such a case, Avi members can have controller derived status while Non-Avi members can be probed by via health monitor probes in dataplane. Enum options - GSLB_SERVICE_HEALTH_MONITOR_ALL_MEMBERS, GSLB_SERVICE_HEALTH_MONITOR_ONLY_NON_AVI_MEMBERS. @@ -47,7 +47,7 @@ type GslbService struct { // This field indicates that this object is replicated across GSLB federation. Field introduced in 17.1.3. IsFederated *bool `json:"is_federated,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The minimum number of members to distribute traffic to. Allowed values are 1-65535. Special values are 0 - 'Disable'. Field introduced in 17.2.4. diff --git a/vendor/github.com/avinetworks/sdk/go/models/gslb_site.go b/vendor/github.com/avinetworks/sdk/go/models/gslb_site.go index 5e21d4875..9cdf373c5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/gslb_site.go +++ b/vendor/github.com/avinetworks/sdk/go/models/gslb_site.go @@ -29,7 +29,7 @@ type GslbSite struct { // This field enables the health monitor shard functionality on a site-basis. Field introduced in 18.2.2. HmShardEnabled *bool `json:"hm_shard_enabled,omitempty"` - // IP Address(es) of the Site's Cluster. For a 3-node cluster, either the cluster vIP is provided, or the list of controller IPs in the cluster are provided. + // IP Address(es) of the Site's Cluster. For a 3-node cluster, either the cluster vIP is provided, or the list of controller IPs in the cluster are provided. Maximum of 3 items allowed. IPAddresses []*IPAddr `json:"ip_addresses,omitempty"` // Geographic location of the site. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/hardware_security_module_group.go b/vendor/github.com/avinetworks/sdk/go/models/hardware_security_module_group.go index ade1fb0ed..7c0bd7020 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/hardware_security_module_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/hardware_security_module_group.go @@ -15,7 +15,7 @@ type HardwareSecurityModuleGroup struct { // Required: true Hsm *HardwareSecurityModule `json:"hsm"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the HSM Group configuration object. diff --git a/vendor/github.com/avinetworks/sdk/go/models/health_monitor.go b/vendor/github.com/avinetworks/sdk/go/models/health_monitor.go index 5b9b290d9..f9034340e 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/health_monitor.go +++ b/vendor/github.com/avinetworks/sdk/go/models/health_monitor.go @@ -11,16 +11,16 @@ type HealthMonitor struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // By default, multiple instances of the same healthmonitor to the same server are suppressed intelligently. In rare cases, the monitor may have specific constructs that go beyond the server keys (ip, port, etc.) during which such suppression is not desired. Use this knob to allow duplicates. Field introduced in 18.2.8. + // By default, multiple instances of the same healthmonitor to the same server are suppressed intelligently. In rare cases, the monitor may have specific constructs that go beyond the server keys (ip, port, etc.) during which such suppression is not desired. Use this knob to allow duplicates. Field introduced in 18.2.8. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. AllowDuplicateMonitors *bool `json:"allow_duplicate_monitors,omitempty"` - // Authentication information for username/password. Field introduced in 20.1.1. + // Authentication information for username/password. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. Authentication *HealthMonitorAuthInfo `json:"authentication,omitempty"` // User defined description for the object. Description *string `json:"description,omitempty"` - // During addition of a server or healthmonitors or during bootup, Avi performs sequential health checks rather than waiting for send-interval to kick in, to mark the server up as soon as possible. This knob may be used to turn this feature off. Field introduced in 18.2.7. + // During addition of a server or healthmonitors or during bootup, Avi performs sequential health checks rather than waiting for send-interval to kick in, to mark the server up as soon as possible. This knob may be used to turn this feature off. Field introduced in 18.2.7. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. DisableQuickstart *bool `json:"disable_quickstart,omitempty"` // Placeholder for description of property dns_monitor of obj type HealthMonitor field type str type object @@ -38,7 +38,7 @@ type HealthMonitor struct { // Placeholder for description of property https_monitor of obj type HealthMonitor field type str type object HTTPSMonitor *HealthMonitorHTTP `json:"https_monitor,omitempty"` - // This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines. If the field is set to true, then the object is replicated across the federation. . Field introduced in 17.1.3. + // This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines. If the field is set to true, then the object is replicated across the federation. . Field introduced in 17.1.3. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. IsFederated *bool `json:"is_federated,omitempty"` // Use this port instead of the port defined for the server in the Pool. If the monitor succeeds to this port, the load balanced traffic will still be sent to the port of the server defined within the Pool. Allowed values are 1-65535. Special values are 0 - 'Use server port'. @@ -48,7 +48,7 @@ type HealthMonitor struct { // Required: true Name *string `json:"name"` - // Health monitor for Radius. Field introduced in 18.2.3. + // Health monitor for Radius. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. RadiusMonitor *HealthMonitorRadius `json:"radius_monitor,omitempty"` // A valid response from the server is expected within the receive timeout window. This timeout must be less than the send interval. If server status is regularly flapping up and down, consider increasing this value. Allowed values are 1-2400. Unit is SEC. @@ -57,7 +57,7 @@ type HealthMonitor struct { // Frequency, in seconds, that monitors are sent to a server. Allowed values are 1-3600. Unit is SEC. SendInterval *int32 `json:"send_interval,omitempty"` - // Health monitor for SIP. Field introduced in 17.2.8, 18.1.3, 18.2.1. + // Health monitor for SIP. Field introduced in 17.2.8, 18.1.3, 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. SipMonitor *HealthMonitorSIP `json:"sip_monitor,omitempty"` // Number of continuous successful health checks before server is marked up. Allowed values are 1-50. @@ -69,7 +69,7 @@ type HealthMonitor struct { // It is a reference to an object of type Tenant. TenantRef *string `json:"tenant_ref,omitempty"` - // Type of the health monitor. Enum options - HEALTH_MONITOR_PING, HEALTH_MONITOR_TCP, HEALTH_MONITOR_HTTP, HEALTH_MONITOR_HTTPS, HEALTH_MONITOR_EXTERNAL, HEALTH_MONITOR_UDP, HEALTH_MONITOR_DNS, HEALTH_MONITOR_GSLB, HEALTH_MONITOR_SIP, HEALTH_MONITOR_RADIUS. + // Type of the health monitor. Enum options - HEALTH_MONITOR_PING, HEALTH_MONITOR_TCP, HEALTH_MONITOR_HTTP, HEALTH_MONITOR_HTTPS, HEALTH_MONITOR_EXTERNAL, HEALTH_MONITOR_UDP, HEALTH_MONITOR_DNS, HEALTH_MONITOR_GSLB, HEALTH_MONITOR_SIP, HEALTH_MONITOR_RADIUS. Allowed in Basic(Allowed values- HEALTH_MONITOR_PING,HEALTH_MONITOR_TCP,HEALTH_MONITOR_UDP,HEALTH_MONITOR_HTTP,HEALTH_MONITOR_HTTPS) edition, Essentials(Allowed values- HEALTH_MONITOR_PING,HEALTH_MONITOR_TCP,HEALTH_MONITOR_UDP) edition, Enterprise edition. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/health_monitor_http.go b/vendor/github.com/avinetworks/sdk/go/models/health_monitor_http.go index d1f9dcd94..1406bd4a9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/health_monitor_http.go +++ b/vendor/github.com/avinetworks/sdk/go/models/health_monitor_http.go @@ -7,7 +7,7 @@ package models // swagger:model HealthMonitorHttp type HealthMonitorHTTP struct { - // Type of the authentication method. Enum options - AUTH_BASIC, AUTH_NTLM. Field introduced in 20.1.1. + // Type of the authentication method. Enum options - AUTH_BASIC, AUTH_NTLM. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. AuthType *string `json:"auth_type,omitempty"` // Use the exact http_request *string as specified by user, without any automatic insert of headers like Host header. Field introduced in 17.1.6,17.2.2. @@ -22,10 +22,10 @@ type HealthMonitorHTTP struct { // Match for a keyword in the first 2Kb of the server header and body response. HTTPResponse *string `json:"http_response,omitempty"` - // List of HTTP response codes to match as successful. Default is 2xx. Enum options - HTTP_ANY, HTTP_1XX, HTTP_2XX, HTTP_3XX, HTTP_4XX, HTTP_5XX. + // List of HTTP response codes to match as successful. Default is 2xx. Enum options - HTTP_ANY, HTTP_1XX, HTTP_2XX, HTTP_3XX, HTTP_4XX, HTTP_5XX. Minimum of 1 items required. HTTPResponseCode []string `json:"http_response_code,omitempty"` - // Match or look for this HTTP response code indicating server maintenance. A successful match results in the server being marked down. Allowed values are 101-599. + // Match or look for this HTTP response code indicating server maintenance. A successful match results in the server being marked down. Allowed values are 101-599. Maximum of 4 items allowed. MaintenanceCode []int64 `json:"maintenance_code,omitempty,omitempty"` // Match or look for this keyword in the first 2KB of server header and body response indicating server maintenance. A successful match results in the server being marked down. diff --git a/vendor/github.com/avinetworks/sdk/go/models/health_monitor_tcp.go b/vendor/github.com/avinetworks/sdk/go/models/health_monitor_tcp.go index 87bb22f7f..1223bb5bb 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/health_monitor_tcp.go +++ b/vendor/github.com/avinetworks/sdk/go/models/health_monitor_tcp.go @@ -10,7 +10,7 @@ type HealthMonitorTCP struct { // Match or look for this keyword in the first 2KB of server's response indicating server maintenance. A successful match results in the server being marked down. MaintenanceResponse *string `json:"maintenance_response,omitempty"` - // Configure TCP health monitor to use half-open TCP connections to monitor the health of backend servers thereby avoiding consumption of a full fledged server side connection and the overhead and logs associated with it. This method is light-weight as it makes use of listener in server's kernel layer to measure the health and a child socket or user thread is not created on the server side. + // Configure TCP health monitor to use half-open TCP connections to monitor the health of backend servers thereby avoiding consumption of a full fledged server side connection and the overhead and logs associated with it. This method is light-weight as it makes use of listener in server's kernel layer to measure the health and a child socket or user thread is not created on the server side. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. TCPHalfOpen *bool `json:"tcp_half_open,omitempty"` // Request data to send after completing the TCP handshake. diff --git a/vendor/github.com/avinetworks/sdk/go/models/http_application_profile.go b/vendor/github.com/avinetworks/sdk/go/models/http_application_profile.go index b922bb881..51d27df46 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/http_application_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/http_application_profile.go @@ -7,22 +7,22 @@ package models // swagger:model HTTPApplicationProfile type HTTPApplicationProfile struct { - // Allow use of dot (.) in HTTP header names, for instance Header.app.special PickAppVersionX. + // Allow use of dot (.) in HTTP header names, for instance Header.app.special PickAppVersionX. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AllowDotsInHeaderName *bool `json:"allow_dots_in_header_name,omitempty"` // HTTP Caching config to use with this HTTP Profile. CacheConfig *HTTPCacheConfig `json:"cache_config,omitempty"` - // The maximum length of time allowed between consecutive read operations for a client request body. The value '0' specifies no timeout. This setting generally impacts the length of time allowed for a client to send a POST. Allowed values are 0-100000000. Unit is MILLISECONDS. + // The maximum length of time allowed between consecutive read operations for a client request body. The value '0' specifies no timeout. This setting generally impacts the length of time allowed for a client to send a POST. Allowed values are 0-100000000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 30000) edition, Essentials(Allowed values- 30000) edition, Enterprise edition. ClientBodyTimeout *int32 `json:"client_body_timeout,omitempty"` - // The maximum length of time allowed for a client to transmit an entire request header. This helps mitigate various forms of SlowLoris attacks. Allowed values are 10-100000000. Unit is MILLISECONDS. + // The maximum length of time allowed for a client to transmit an entire request header. This helps mitigate various forms of SlowLoris attacks. Allowed values are 10-100000000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 10000) edition, Essentials(Allowed values- 10000) edition, Enterprise edition. ClientHeaderTimeout *int32 `json:"client_header_timeout,omitempty"` // Maximum size for the client request body. This limits the size of the client data that can be uploaded/posted as part of a single HTTP Request. Default 0 => Unlimited. Unit is KB. ClientMaxBodySize *int64 `json:"client_max_body_size,omitempty"` - // Maximum size in Kbytes of a single HTTP header in the client request. Allowed values are 1-64. Unit is KB. + // Maximum size in Kbytes of a single HTTP header in the client request. Allowed values are 1-64. Unit is KB. Allowed in Basic(Allowed values- 12) edition, Essentials(Allowed values- 12) edition, Enterprise edition. ClientMaxHeaderSize *int32 `json:"client_max_header_size,omitempty"` // Maximum size in Kbytes of all the client HTTP request headers. Allowed values are 1-256. Unit is KB. @@ -34,7 +34,10 @@ type HTTPApplicationProfile struct { // Allows HTTP requests, not just TCP connections, to be load balanced across servers. Proxied TCP connections to servers may be reused by multiple clients to improve performance. Not compatible with Preserve Client IP. ConnectionMultiplexingEnabled *bool `json:"connection_multiplexing_enabled,omitempty"` - // Disable keep-alive client side connections for older browsers based off MS Internet Explorer 6.0 (MSIE6). For some applications, this might break NTLM authentication for older clients based off MSIE6. For such applications, set this option to false to allow keep-alive connections. + // Detect NTLM apps based on the HTTP Response from the server. Once detected, connection multiplexing will be disabled for that connection. Field introduced in 20.1.3. + DetectNtlmApp *bool `json:"detect_ntlm_app,omitempty"` + + // Disable keep-alive client side connections for older browsers based off MS Internet Explorer 6.0 (MSIE6). For some applications, this might break NTLM authentication for older clients based off MSIE6. For such applications, set this option to false to allow keep-alive connections. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. DisableKeepalivePostsMsie6 *bool `json:"disable_keepalive_posts_msie6,omitempty"` // Disable strict check between TLS servername and HTTP Host name. Field introduced in 18.2.5. @@ -43,46 +46,46 @@ type HTTPApplicationProfile struct { // Enable chunk body merge for chunked transfer encoding response. Field introduced in 18.2.7. EnableChunkMerge *bool `json:"enable_chunk_merge,omitempty"` - // Enable support for fire and forget feature. If enabled, request from client is forwarded to server even if client prematurely closes the connection. Field introduced in 17.2.4. + // Enable support for fire and forget feature. If enabled, request from client is forwarded to server even if client prematurely closes the connection. Field introduced in 17.2.4. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableFireAndForget *bool `json:"enable_fire_and_forget,omitempty"` // Enable request body buffering for POST requests. If enabled, max buffer size is set to lower of 32M or the value (non-zero) configured in client_max_body_size. EnableRequestBodyBuffering *bool `json:"enable_request_body_buffering,omitempty"` - // Enable HTTP request body metrics. If enabled, requests from clients are parsed and relevant statistics about them are gathered. Currently, it processes HTTP POST requests with Content-Type application/x-www-form-urlencoded or multipart/form-data, and adds the number of detected parameters to the l7_client.http_params_count. This is an experimental feature and it may have performance impact. Use it when detailed information about the number of HTTP POST parameters is needed, e.g. for WAF sizing. Field introduced in 18.1.5, 18.2.1. + // Enable HTTP request body metrics. If enabled, requests from clients are parsed and relevant statistics about them are gathered. Currently, it processes HTTP POST requests with Content-Type application/x-www-form-urlencoded or multipart/form-data, and adds the number of detected parameters to the l7_client.http_params_count. This is an experimental feature and it may have performance impact. Use it when detailed information about the number of HTTP POST parameters is needed, e.g. for WAF sizing. Field introduced in 18.1.5, 18.2.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableRequestBodyMetrics *bool `json:"enable_request_body_metrics,omitempty"` // Forward the Connection Close header coming from backend server to the client if connection-switching is enabled, i.e. front-end and backend connections are bound together. Field introduced in 18.2.3. FwdCloseHdrForBoundConnections *bool `json:"fwd_close_hdr_for_bound_connections,omitempty"` - // Inserts HTTP Strict-Transport-Security header in the HTTPS response. HSTS can help mitigate man-in-the-middle attacks by telling browsers that support HSTS that they should only access this site via HTTPS. + // Inserts HTTP Strict-Transport-Security header in the HTTPS response. HSTS can help mitigate man-in-the-middle attacks by telling browsers that support HSTS that they should only access this site via HTTPS. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. HstsEnabled *bool `json:"hsts_enabled,omitempty"` - // Number of days for which the client should regard this virtual service as a known HSTS host. Allowed values are 0-10000. + // Number of days for which the client should regard this virtual service as a known HSTS host. Allowed values are 0-10000. Allowed in Basic(Allowed values- 365) edition, Essentials(Allowed values- 365) edition, Enterprise edition. HstsMaxAge *int64 `json:"hsts_max_age,omitempty"` - // Insert the 'includeSubdomains' directive in the HTTP Strict-Transport-Security header. Adding the includeSubdomains directive signals the User-Agent that the HSTS Policy applies to this HSTS Host as well as any subdomains of the host's domain name. Field introduced in 17.2.13, 18.1.4, 18.2.1. + // Insert the 'includeSubdomains' directive in the HTTP Strict-Transport-Security header. Adding the includeSubdomains directive signals the User-Agent that the HSTS Policy applies to this HSTS Host as well as any subdomains of the host's domain name. Field introduced in 17.2.13, 18.1.4, 18.2.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. HstsSubdomainsEnabled *bool `json:"hsts_subdomains_enabled,omitempty"` - // Enable HTTP2 for traffic from clients to the virtual service. Field deprecated in 20.1.1. Field introduced in 18.1.1. + // Enable HTTP2 for traffic from clients to the virtual service. Field deprecated in 20.1.1. Field introduced in 18.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. Http2Enabled *bool `json:"http2_enabled,omitempty"` - // Specifies the HTTP/2 specific application profile parameters. Field introduced in 18.2.10, 20.1.1. + // Specifies the HTTP/2 specific application profile parameters. Field introduced in 18.2.10, 20.1.1. Allowed in Essentials edition, Enterprise edition. Http2Profile *Http2ApplicationProfile `json:"http2_profile,omitempty"` - // Client requests received via HTTP will be redirected to HTTPS. + // Client requests received via HTTP will be redirected to HTTPS. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. HTTPToHTTPS *bool `json:"http_to_https,omitempty"` - // Size of HTTP buffer in kB. Allowed values are 1-256. Special values are 0- 'Auto compute the size of buffer'. Field introduced in 20.1.1. Unit is KB. + // Size of HTTP buffer in kB. Allowed values are 1-256. Special values are 0- 'Auto compute the size of buffer'. Field introduced in 20.1.1. Unit is KB. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. HTTPUpstreamBufferSize *int32 `json:"http_upstream_buffer_size,omitempty"` - // Mark HTTP cookies as HTTPonly. This helps mitigate cross site scripting attacks as browsers will not allow these cookies to be read by third parties, such as javascript. + // Mark HTTP cookies as HTTPonly. This helps mitigate cross site scripting attacks as browsers will not allow these cookies to be read by third parties, such as javascript. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. HttponlyEnabled *bool `json:"httponly_enabled,omitempty"` // Send HTTP 'Keep-Alive' header to the client. By default, the timeout specified in the 'Keep-Alive Timeout' field will be used unless the 'Use App Keepalive Timeout' flag is set, in which case the timeout sent by the application will be honored. KeepaliveHeader *bool `json:"keepalive_header,omitempty"` - // The max idle time allowed between HTTP requests over a Keep-alive connection. Allowed values are 10-100000000. Unit is MILLISECONDS. + // The max idle time allowed between HTTP requests over a Keep-alive connection. Allowed values are 10-100000000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 30000) edition, Essentials(Allowed values- 30000) edition, Enterprise edition. KeepaliveTimeout *int32 `json:"keepalive_timeout,omitempty"` // Maximum bad requests per second per client IP. Allowed values are 10-1000. Special values are 0- 'unlimited'. @@ -94,22 +97,22 @@ type HTTPApplicationProfile struct { // Maximum bad requests per second per URI. Allowed values are 10-1000. Special values are 0- 'unlimited'. MaxBadRpsURI *int32 `json:"max_bad_rps_uri,omitempty"` - // The max number of concurrent streams over a client side HTTP/2 connection. Allowed values are 1-256. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. + // The max number of concurrent streams over a client side HTTP/2 connection. Allowed values are 1-256. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. Allowed in Basic edition, Essentials edition, Enterprise edition. MaxHttp2ConcurrentStreamsPerConnection *int32 `json:"max_http2_concurrent_streams_per_connection,omitempty"` - // The max number of control frames that client can send over an HTTP/2 connection. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited control frames on a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. + // The max number of control frames that client can send over an HTTP/2 connection. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited control frames on a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. Allowed in Basic edition, Essentials edition, Enterprise edition. MaxHttp2ControlFramesPerConnection *int32 `json:"max_http2_control_frames_per_connection,omitempty"` - // The max number of empty data frames that client can send over an HTTP/2 connection. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited empty data frames over a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. + // The max number of empty data frames that client can send over an HTTP/2 connection. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited empty data frames over a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. Allowed in Basic edition, Essentials edition, Enterprise edition. MaxHttp2EmptyDataFramesPerConnection *int32 `json:"max_http2_empty_data_frames_per_connection,omitempty"` - // The max number of frames that can be queued waiting to be sent over a client side HTTP/2 connection at any given time. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited frames can be queued on a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. + // The max number of frames that can be queued waiting to be sent over a client side HTTP/2 connection at any given time. '0' means unlimited. Allowed values are 0-10000. Special values are 0- 'Unlimited frames can be queued on a client side HTTP/2 connection'. Field deprecated in 18.2.10, 20.1.1. Field introduced in 18.2.6. Allowed in Basic edition, Essentials edition, Enterprise edition. MaxHttp2QueuedFramesToClientPerConnection *int32 `json:"max_http2_queued_frames_to_client_per_connection,omitempty"` - // The max number of HTTP requests that can be sent over a Keep-Alive connection. '0' means unlimited. Allowed values are 0-1000000. Special values are 0- 'Unlimited requests on a connection'. Field introduced in 18.2.5. + // The max number of HTTP requests that can be sent over a Keep-Alive connection. '0' means unlimited. Allowed values are 0-1000000. Special values are 0- 'Unlimited requests on a connection'. Field introduced in 18.2.5. Allowed in Basic(Allowed values- 100) edition, Essentials(Allowed values- 100) edition, Enterprise edition. MaxKeepaliveRequests *int32 `json:"max_keepalive_requests,omitempty"` - // Maximum size in Kbytes of all the HTTP response headers. Allowed values are 1-256. Unit is KB. + // Maximum size in Kbytes of all the HTTP response headers. Allowed values are 1-256. Unit is KB. Allowed in Basic(Allowed values- 48) edition, Essentials(Allowed values- 48) edition, Enterprise edition. MaxResponseHeadersSize *int32 `json:"max_response_headers_size,omitempty"` // Maximum requests per second per client IP. Allowed values are 10-1000. Special values are 0- 'unlimited'. @@ -130,19 +133,19 @@ type HTTPApplicationProfile struct { // Select the PKI profile to be associated with the Virtual Service. This profile defines the Certificate Authority and Revocation List. It is a reference to an object of type PKIProfile. PkiProfileRef *string `json:"pki_profile_ref,omitempty"` - // The max allowed length of time between a client establishing a TCP connection until Avi receives the first byte of the client's HTTP request. Allowed values are 10-100000000. Unit is MILLISECONDS. + // The max allowed length of time between a client establishing a TCP connection until Avi receives the first byte of the client's HTTP request. Allowed values are 10-100000000. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 30000) edition, Essentials(Allowed values- 30000) edition, Enterprise edition. PostAcceptTimeout *int32 `json:"post_accept_timeout,omitempty"` - // If enabled, an HTTP request on an SSL port will result in connection close instead of a 400 response. Field introduced in 18.2.6. + // If enabled, an HTTP request on an SSL port will result in connection close instead of a 400 response. Field introduced in 18.2.6. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ResetConnHTTPOnSslPort *bool `json:"reset_conn_http_on_ssl_port,omitempty"` // Avi will respond with 100-Continue response if Expect 100-Continue header received from client. Field introduced in 17.2.8. RespondWith100Continue *bool `json:"respond_with_100_continue,omitempty"` - // Mark server cookies with the 'Secure' attribute. Client browsers will not send a cookie marked as secure over an unencrypted connection. If Avi is terminating SSL from clients and passing it as HTTP to the server, the server may return cookies without the secure flag set. + // Mark server cookies with the 'Secure' attribute. Client browsers will not send a cookie marked as secure over an unencrypted connection. If Avi is terminating SSL from clients and passing it as HTTP to the server, the server may return cookies without the secure flag set. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. SecureCookieEnabled *bool `json:"secure_cookie_enabled,omitempty"` - // When terminating client SSL sessions at Avi, servers may incorrectly send redirect to clients as HTTP. This option will rewrite the server's redirect responses for this virtual service from HTTP to HTTPS. + // When terminating client SSL sessions at Avi, servers may incorrectly send redirect to clients as HTTP. This option will rewrite the server's redirect responses for this virtual service from HTTP to HTTPS. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ServerSideRedirectToHTTPS *bool `json:"server_side_redirect_to_https,omitempty"` // This field is deprecated. Field deprecated in 18.2.8. @@ -154,19 +157,19 @@ type HTTPApplicationProfile struct { // Set of match/action rules that govern what happens when the client certificate request is enabled. SslClientCertificateAction *SSLClientCertificateAction `json:"ssl_client_certificate_action,omitempty"` - // Specifies whether the client side verification is set to none, request or require. Enum options - SSL_CLIENT_CERTIFICATE_NONE, SSL_CLIENT_CERTIFICATE_REQUEST, SSL_CLIENT_CERTIFICATE_REQUIRE. + // Specifies whether the client side verification is set to none, request or require. Enum options - SSL_CLIENT_CERTIFICATE_NONE, SSL_CLIENT_CERTIFICATE_REQUEST, SSL_CLIENT_CERTIFICATE_REQUIRE. Allowed in Basic(Allowed values- SSL_CLIENT_CERTIFICATE_NONE,SSL_CLIENT_CERTIFICATE_REQUIRE) edition, Essentials(Allowed values- SSL_CLIENT_CERTIFICATE_NONE,SSL_CLIENT_CERTIFICATE_REQUIRE) edition, Enterprise edition. SslClientCertificateMode *string `json:"ssl_client_certificate_mode,omitempty"` // Enable common settings to increase the level of security for virtual services running HTTP and HTTPS. For sites that are HTTP only, these settings will have no effect. Field deprecated in 18.2.7. SslEverywhereEnabled *bool `json:"ssl_everywhere_enabled,omitempty"` - // Use 'Keep-Alive' header timeout sent by application instead of sending the HTTP Keep-Alive Timeout. + // Use 'Keep-Alive' header timeout sent by application instead of sending the HTTP Keep-Alive Timeout. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. UseAppKeepaliveTimeout *bool `json:"use_app_keepalive_timeout,omitempty"` // Enable Websockets proxy for traffic from clients to the virtual service. Connections to this VS start in HTTP mode. If the client requests an Upgrade to Websockets, and the server responds back with success, then the connection is upgraded to WebSockets mode. . WebsocketsEnabled *bool `json:"websockets_enabled,omitempty"` - // Insert an X-Forwarded-Proto header in the request sent to the server. When the client connects via SSL, Avi terminates the SSL, and then forwards the requests to the servers via HTTP, so the servers can determine the original protocol via this header. In this example, the value will be 'https'. + // Insert an X-Forwarded-Proto header in the request sent to the server. When the client connects via SSL, Avi terminates the SSL, and then forwards the requests to the servers via HTTP, so the servers can determine the original protocol via this header. In this example, the value will be 'https'. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. XForwardedProtoEnabled *bool `json:"x_forwarded_proto_enabled,omitempty"` // Provide a custom name for the X-Forwarded-For header sent to the servers. diff --git a/vendor/github.com/avinetworks/sdk/go/models/http_cache_config.go b/vendor/github.com/avinetworks/sdk/go/models/http_cache_config.go index d20f7fd85..bd3c2aa5f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/http_cache_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/http_cache_config.go @@ -34,16 +34,22 @@ type HTTPCacheConfig struct { // Maximum size of an object to store in the cache. MaxObjectSize *int32 `json:"max_object_size,omitempty"` - // Blacklist *string group of non-cacheable mime types. It is a reference to an object of type StringGroup. + // Blacklist *string group of non-cacheable mime types. It is a reference to an object of type StringGroup. Field deprecated in 20.1.3. MimeTypesBlackGroupRefs []string `json:"mime_types_black_group_refs,omitempty"` - // Blacklist of non-cacheable mime types. + // Blacklist of non-cacheable mime types. Field deprecated in 20.1.3. MimeTypesBlackList []string `json:"mime_types_black_list,omitempty"` - // Whitelist *string group of cacheable mime types. If both Cacheable Mime Types *string list and *string group are empty, this defaults to */*. It is a reference to an object of type StringGroup. + // Blocklist *string group of non-cacheable mime types. It is a reference to an object of type StringGroup. Field introduced in 20.1.3. + MimeTypesBlockGroupRefs []string `json:"mime_types_block_group_refs,omitempty"` + + // Blocklist of non-cacheable mime types. Field introduced in 20.1.3. + MimeTypesBlockLists []string `json:"mime_types_block_lists,omitempty"` + + // Allowlist *string group of cacheable mime types. If both Cacheable Mime Types *string list and *string group are empty, this defaults to */*. It is a reference to an object of type StringGroup. MimeTypesGroupRefs []string `json:"mime_types_group_refs,omitempty"` - // Whitelist of cacheable mime types. If both Cacheable Mime Types *string list and *string group are empty, this defaults to */*. + // Allowlist of cacheable mime types. If both Cacheable Mime Types *string list and *string group are empty, this defaults to */*. MimeTypesList []string `json:"mime_types_list,omitempty"` // Minimum size of an object to store in the cache. diff --git a/vendor/github.com/avinetworks/sdk/go/models/http_hdr_action.go b/vendor/github.com/avinetworks/sdk/go/models/http_hdr_action.go index b24db48c7..dc6e00d22 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/http_hdr_action.go +++ b/vendor/github.com/avinetworks/sdk/go/models/http_hdr_action.go @@ -7,7 +7,7 @@ package models // swagger:model HTTPHdrAction type HTTPHdrAction struct { - // ADD A new header with the new value is added irrespective of the existence of an HTTP header of the given name. REPLACE A new header with the new value is added if no header of the given name exists, else existing headers with the given name are removed and a new header with the new value is added. REMOVE All the headers of the given name are removed. Enum options - HTTP_ADD_HDR, HTTP_REMOVE_HDR, HTTP_REPLACE_HDR. + // ADD A new header with the new value is added irrespective of the existence of an HTTP header of the given name. REPLACE A new header with the new value is added if no header of the given name exists, else existing headers with the given name are removed and a new header with the new value is added. REMOVE All the headers of the given name are removed. Enum options - HTTP_ADD_HDR, HTTP_REMOVE_HDR, HTTP_REPLACE_HDR. Allowed in Basic(Allowed values- HTTP_REMOVE_HDR,HTTP_REPLACE_HDR) edition, Essentials(Allowed values- HTTP_REMOVE_HDR,HTTP_REPLACE_HDR) edition, Enterprise edition. // Required: true Action *string `json:"action"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/http_policy_set.go b/vendor/github.com/avinetworks/sdk/go/models/http_policy_set.go index 7336751f3..06cd54871 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/http_policy_set.go +++ b/vendor/github.com/avinetworks/sdk/go/models/http_policy_set.go @@ -29,13 +29,13 @@ type HTTPPolicySet struct { // HTTP security policy for the virtual service. HTTPSecurityPolicy *HttpsecurityPolicy `json:"http_security_policy,omitempty"` - // IP reputation database. It is a reference to an object of type IPReputationDB. Field introduced in 20.2.1. + // IP reputation database. It is a reference to an object of type IPReputationDB. Field introduced in 20.1.3. IPReputationDbRef *string `json:"ip_reputation_db_ref,omitempty"` // Placeholder for description of property is_internal_policy of obj type HTTPPolicySet field type str type boolean IsInternalPolicy *bool `json:"is_internal_policy,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the HTTP Policy Set. diff --git a/vendor/github.com/avinetworks/sdk/go/models/http_version_match.go b/vendor/github.com/avinetworks/sdk/go/models/http_version_match.go index ec3c66900..4381e9489 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/http_version_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/http_version_match.go @@ -11,6 +11,6 @@ type HTTPVersionMatch struct { // Required: true MatchCriteria *string `json:"match_criteria"` - // HTTP protocol version. Enum options - ZERO_NINE, ONE_ZERO, ONE_ONE, TWO_ZERO. + // HTTP protocol version. Enum options - ZERO_NINE, ONE_ZERO, ONE_ONE, TWO_ZERO. Minimum of 1 items required. Maximum of 8 items allowed. Allowed in Basic(Allowed values- ONE_ZERO,ONE_ONE) edition, Essentials(Allowed values- ONE_ZERO,ONE_ONE) edition, Enterprise edition. Versions []string `json:"versions,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/httpsecurity_action.go b/vendor/github.com/avinetworks/sdk/go/models/httpsecurity_action.go index f705369c1..4849bb3f1 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/httpsecurity_action.go +++ b/vendor/github.com/avinetworks/sdk/go/models/httpsecurity_action.go @@ -7,7 +7,7 @@ package models // swagger:model HTTPSecurityAction type HttpsecurityAction struct { - // Type of the security action to perform. Enum options - HTTP_SECURITY_ACTION_CLOSE_CONN, HTTP_SECURITY_ACTION_SEND_RESPONSE, HTTP_SECURITY_ACTION_ALLOW, HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS, HTTP_SECURITY_ACTION_RATE_LIMIT, HTTP_SECURITY_ACTION_REQUEST_CHECK_ICAP. + // Type of the security action to perform. Enum options - HTTP_SECURITY_ACTION_CLOSE_CONN, HTTP_SECURITY_ACTION_SEND_RESPONSE, HTTP_SECURITY_ACTION_ALLOW, HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS, HTTP_SECURITY_ACTION_RATE_LIMIT, HTTP_SECURITY_ACTION_REQUEST_CHECK_ICAP. Allowed in Basic(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS) edition, Essentials(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS) edition, Enterprise edition. // Required: true Action *string `json:"action"` @@ -20,7 +20,7 @@ type HttpsecurityAction struct { // Rate Limit profile to be used to rate-limit the flow. (deprecated). Field deprecated in 18.2.9. RateLimit *RateProfile `json:"rate_limit,omitempty"` - // Rate limiting configuration for this action. Field introduced in 18.2.9. + // Rate limiting configuration for this action. Field introduced in 18.2.9. Allowed in Basic edition, Essentials edition, Enterprise edition. RateProfile *HttpsecurityActionRateProfile `json:"rate_profile,omitempty"` // HTTP status code to use for local response. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_204, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429, HTTP_LOCAL_RESPONSE_STATUS_CODE_501. diff --git a/vendor/github.com/avinetworks/sdk/go/models/httpserver_reselect.go b/vendor/github.com/avinetworks/sdk/go/models/httpserver_reselect.go index a8d4d2ba4..b98a80c75 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/httpserver_reselect.go +++ b/vendor/github.com/avinetworks/sdk/go/models/httpserver_reselect.go @@ -7,7 +7,7 @@ package models // swagger:model HTTPServerReselect type HttpserverReselect struct { - // Enable HTTP request reselect when server responds with specific response codes. + // Enable HTTP request reselect when server responds with specific response codes. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. // Required: true Enabled *bool `json:"enabled"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/httpswitching_action.go b/vendor/github.com/avinetworks/sdk/go/models/httpswitching_action.go index ced5bdfe3..2ddd9b267 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/httpswitching_action.go +++ b/vendor/github.com/avinetworks/sdk/go/models/httpswitching_action.go @@ -7,7 +7,7 @@ package models // swagger:model HTTPSwitchingAction type HttpswitchingAction struct { - // Content switching action type. Enum options - HTTP_SWITCHING_SELECT_POOL, HTTP_SWITCHING_SELECT_LOCAL, HTTP_SWITCHING_SELECT_POOLGROUP. + // Content switching action type. Enum options - HTTP_SWITCHING_SELECT_POOL, HTTP_SWITCHING_SELECT_LOCAL, HTTP_SWITCHING_SELECT_POOLGROUP. Allowed in Basic(Allowed values- HTTP_SWITCHING_SELECT_POOL,HTTP_SWITCHING_SELECT_LOCAL) edition, Essentials(Allowed values- HTTP_SWITCHING_SELECT_POOL,HTTP_SWITCHING_SELECT_LOCAL) edition, Enterprise edition. // Required: true Action *string `json:"action"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/icap_profile.go b/vendor/github.com/avinetworks/sdk/go/models/icap_profile.go index fe7af84f7..c8f85fa6e 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/icap_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/icap_profile.go @@ -11,6 +11,9 @@ type IcapProfile struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` + // Allow ICAP server to send 204 response as described in RFC 3507 section 4.5.Service Engine will buffer the complete request if alllow_204 is enabled. If disabled, preview_size request body will be buffered if enable_preview is set to true, and rest of the request body will be streamed to the ICAP server. Field introduced in 20.1.3. + Allow204 *bool `json:"allow_204,omitempty"` + // The maximum buffer size for the HTTP request body. If the request body exceeds this size, the request will not be checked by the ICAP server. In this case, the configured action will be executed and a significant log entry will be generated. Allowed values are 1-51200. Field introduced in 20.1.1. Unit is KB. BufferSize *int32 `json:"buffer_size,omitempty"` @@ -26,7 +29,7 @@ type IcapProfile struct { // Use the ICAP preview feature as described in RFC 3507 section 4.5. Field introduced in 20.1.1. EnablePreview *bool `json:"enable_preview,omitempty"` - // Decide what should happen if there is a problem with the ICAP server like communication timeout, protocol error, pool error, etc. If this is set to Fail Open, the request will continue, but will create a significant log entry. If this is set to Fail Closed, the request will be rejected with a 503 status code. Enum options - ICAP_FAIL_OPEN, ICAP_FAIL_CLOSED. Field introduced in 20.1.1. + // Decide what should happen if there is a problem with the ICAP server like communication timeout, protocol error, pool error, etc. If this is set to Fail Open, the request will continue, but will create a significant log entry. If this is set to Fail Closed, the request will be rejected with a 500 status code. Enum options - ICAP_FAIL_OPEN, ICAP_FAIL_CLOSED. Field introduced in 20.1.1. FailAction *string `json:"fail_action,omitempty"` // Name of the ICAP profile. Field introduced in 20.1.1. @@ -40,7 +43,7 @@ type IcapProfile struct { // The ICAP preview size as described in RFC 3507 section 4.5. This should not exceed the size supported by the ICAP server. If this is set to 0, only the HTTP header will be sent to the ICAP server as a preview. To disable preview completely, set the enable-preview option to false. Allowed values are 0-5000. Field introduced in 20.1.1. Unit is BYTES. PreviewSize *int32 `json:"preview_size,omitempty"` - // How long do we wait for a request to the ICAP server to finish. If this timeout is exceeded, the request to the ICAP server will be aborted and the configured fail action is executed. Allowed values are 50-3600000. Field introduced in 20.1.1. Unit is MILLISECONDS. + // Maximum time, client's request will be paused for ICAP processing. If this timeout is exceeded, the request to the ICAP server will be aborted and the configured fail action is executed. Allowed values are 50-3600000. Field introduced in 20.1.1. Unit is MILLISECONDS. ResponseTimeout *int32 `json:"response_timeout,omitempty"` // The path and query component of the ICAP URL. Host name and port will be taken from the pool. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/icap_request_log.go b/vendor/github.com/avinetworks/sdk/go/models/icap_request_log.go index b54202b4d..22b51cac3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/icap_request_log.go +++ b/vendor/github.com/avinetworks/sdk/go/models/icap_request_log.go @@ -34,6 +34,12 @@ type IcapRequestLog struct { // The response code received from the ICAP server. Field introduced in 20.1.1. IcapResponseCode *int32 `json:"icap_response_code,omitempty"` + // ICAP server IP for this connection. Field introduced in 20.1.3. + IcapServerIP *int32 `json:"icap_server_ip,omitempty"` + + // ICAP server port for this connection. Field introduced in 20.1.3. + IcapServerPort *int32 `json:"icap_server_port,omitempty"` + // Latency added due to ICAP processing. This is the time taken from 1st byte of ICAP request sent to last byte of ICAP response received. Field introduced in 20.1.1. Unit is MILLISECONDS. Latency *int64 `json:"latency,omitempty"` @@ -49,15 +55,18 @@ type IcapRequestLog struct { // Blocking reason for the content. It is available only if content was scanned by ICAP server and some violations were found. Field introduced in 20.1.1. Reason *string `json:"reason,omitempty"` - // ICAP server IP for this connection. Field introduced in 20.1.1. + // ICAP server IP for this connection. Field deprecated in 20.1.3. Field introduced in 20.1.1. ServerIP *IPAddr `json:"server_ip,omitempty"` // Source port for this connection. Field introduced in 20.1.1. SourcePort *int32 `json:"source_port,omitempty"` - // Detailed description of the threat found in the content. Available only if request was scanned by ICAP server and some violations were found. Field introduced in 20.1.1. + // Detailed description of the threat found in the content. Available only if request was scanned by ICAP server and some violations were found. Field deprecated in 20.1.3. Field introduced in 20.1.1. ThreatDescription *string `json:"threat_description,omitempty"` // Short description of the threat found in the content. Available only if content was scanned by ICAP server and some violations were found. Field introduced in 20.1.1. ThreatID *string `json:"threat_id,omitempty"` + + // Threat found in the content. Available only if content was scanned by ICAP server and some violations were found. Field introduced in 20.1.3. + Violations []*IcapViolation `json:"violations,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/icap_violation.go b/vendor/github.com/avinetworks/sdk/go/models/icap_violation.go new file mode 100644 index 000000000..46e5e8117 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/icap_violation.go @@ -0,0 +1,18 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// IcapViolation icap violation +// swagger:model IcapViolation +type IcapViolation struct { + + // The file that ICAP server has identified as containing a violation. Field introduced in 20.1.3. + FileName *string `json:"file_name,omitempty"` + + // Action taken by ICAP server in response to this threat. Enum options - ICAP_FILE_NOT_REPAIRED, ICAP_FILE_REPAIRED, ICAP_VIOLATING_SECTION_REMOVED. Field introduced in 20.1.3. + Resolution *string `json:"resolution,omitempty"` + + // The name of the threat. Field introduced in 20.1.3. + ThreatName *string `json:"threat_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/image.go b/vendor/github.com/avinetworks/sdk/go/models/image.go index 25f19db04..d393b4000 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/image.go +++ b/vendor/github.com/avinetworks/sdk/go/models/image.go @@ -39,7 +39,7 @@ type Image struct { // It references the Service Engine patch associated with the Uber Image. Field introduced in 18.2.8, 20.1.1. SePatchUUID *string `json:"se_patch_uuid,omitempty"` - // Status to check if the image is present. 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_BAD_REQUEST, SYSERR_TEST1.... Field introduced in 18.2.6. + // Status to check if the image is present. 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. Status *string `json:"status,omitempty"` // Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 18.2.6. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_aws_profile.go b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_aws_profile.go index d890e3525..e4d7efad3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_aws_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_aws_profile.go @@ -10,7 +10,7 @@ type IPAMDNSAwsProfile struct { // AWS access key ID. AccessKeyID *string `json:"access_key_id,omitempty"` - // A list of subnets used for source IP allocation for egress services in Openshift/k8s on Aws. Field introduced in 18.2.3. + // A list of subnets used for source IP allocation for egress services in Openshift/k8s on Aws. Field introduced in 18.2.3. Maximum of 1 items allowed. EgressServiceSubnets []string `json:"egress_service_subnets,omitempty"` // IAM assume role for cross-account access. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_azure_profile.go b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_azure_profile.go index 105969fd2..1ef5e1fc7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_azure_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_azure_profile.go @@ -13,7 +13,7 @@ type IPAMDNSAzureProfile struct { // User name password based credentials for azure. Only one of azure_userpass or azure_serviceprincipal is allowed. Field introduced in 17.2.1. AzureUserpass *AzureUserPassCredentials `json:"azure_userpass,omitempty"` - // Used for allocating egress service source IPs. Field introduced in 17.2.8. + // Used for allocating egress service source IPs. Field introduced in 17.2.8. Maximum of 1 items allowed. EgressServiceSubnets []string `json:"egress_service_subnets,omitempty"` // Azure resource group dedicated for Avi Controller. Avi Controller will create all its resources in this resource group. Field introduced in 17.2.1. @@ -25,7 +25,7 @@ type IPAMDNSAzureProfile struct { // Usable domains to pick from Azure DNS. Field introduced in 17.2.1. UsableDomains []string `json:"usable_domains,omitempty"` - // Usable networks for Virtual IP. If VirtualService does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for IP allocation. Field introduced in 17.2.1. + // Usable networks for Virtual IP. If VirtualService does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for IP allocation. Field introduced in 17.2.1. Maximum of 128 items allowed. UsableNetworkUuids []string `json:"usable_network_uuids,omitempty"` // Use Azure's enhanced HA features. This needs a public IP to be associated with the VIP. Field introduced in 17.2.1. @@ -34,6 +34,6 @@ type IPAMDNSAzureProfile struct { // Use Standard SKU Azure Load Balancer. By default Basic SKU Load Balancer is used. Field introduced in 17.2.7. UseStandardAlb *bool `json:"use_standard_alb,omitempty"` - // Virtual networks where Virtual IPs will belong. Field introduced in 17.2.1. + // Virtual networks where Virtual IPs will belong. Field introduced in 17.2.1. Maximum of 1 items allowed. VirtualNetworkIds []string `json:"virtual_network_ids,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_internal_profile.go b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_internal_profile.go index ba4fd8e71..d5d71baaa 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_internal_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_internal_profile.go @@ -13,9 +13,12 @@ type IPAMDNSInternalProfile struct { // Avi VirtualService to be used for serving DNS records. It is a reference to an object of type VirtualService. DNSVirtualserviceRef *string `json:"dns_virtualservice_ref,omitempty"` - // Default TTL for all records, overridden by TTL value for each service domain configured in DnsServiceDomain. Allowed values are 1-604800. Unit is SEC. + // Default TTL for all records, overridden by TTL value for each service domain configured in DnsServiceDomain. Allowed values are 1-604800. Unit is SEC. Allowed in Basic(Allowed values- 30) edition, Essentials(Allowed values- 30) edition, Enterprise edition. TTL *int32 `json:"ttl,omitempty"` - // Usable networks for Virtual IP. If VirtualService does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for IP allocation. It is a reference to an object of type Network. + // Use usable_networks. It is a reference to an object of type Network. Field deprecated in 20.1.3. UsableNetworkRefs []string `json:"usable_network_refs,omitempty"` + + // Usable networks for Virtual IP. If VirtualService does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for IP allocation. Field introduced in 20.1.3. + UsableNetworks []*IPAMUsableNetwork `json:"usable_networks,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_provider_profile.go b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_provider_profile.go index a53b2fa43..b9f428b3b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_provider_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_dns_provider_profile.go @@ -32,7 +32,7 @@ type IPAMDNSProviderProfile struct { // Provider details if type is Avi. InternalProfile *IPAMDNSInternalProfile `json:"internal_profile,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name for the IPAM/DNS Provider profile. @@ -54,7 +54,7 @@ type IPAMDNSProviderProfile struct { // Provider details for Tencent Cloud. Field introduced in 18.2.3. TencentProfile *IPAMDNSTencentProfile `json:"tencent_profile,omitempty"` - // Provider Type for the IPAM/DNS Provider profile. Enum options - IPAMDNS_TYPE_INFOBLOX, IPAMDNS_TYPE_AWS, IPAMDNS_TYPE_OPENSTACK, IPAMDNS_TYPE_GCP, IPAMDNS_TYPE_INFOBLOX_DNS, IPAMDNS_TYPE_CUSTOM, IPAMDNS_TYPE_CUSTOM_DNS, IPAMDNS_TYPE_AZURE, IPAMDNS_TYPE_OCI, IPAMDNS_TYPE_TENCENT, IPAMDNS_TYPE_INTERNAL, IPAMDNS_TYPE_INTERNAL_DNS, IPAMDNS_TYPE_AWS_DNS, IPAMDNS_TYPE_AZURE_DNS. + // Provider Type for the IPAM/DNS Provider profile. Enum options - IPAMDNS_TYPE_INFOBLOX, IPAMDNS_TYPE_AWS, IPAMDNS_TYPE_OPENSTACK, IPAMDNS_TYPE_GCP, IPAMDNS_TYPE_INFOBLOX_DNS, IPAMDNS_TYPE_CUSTOM, IPAMDNS_TYPE_CUSTOM_DNS, IPAMDNS_TYPE_AZURE, IPAMDNS_TYPE_OCI, IPAMDNS_TYPE_TENCENT, IPAMDNS_TYPE_INTERNAL, IPAMDNS_TYPE_INTERNAL_DNS, IPAMDNS_TYPE_AWS_DNS, IPAMDNS_TYPE_AZURE_DNS. Allowed in Basic(Allowed values- IPAMDNS_TYPE_INTERNAL) edition, Essentials(Allowed values- IPAMDNS_TYPE_INTERNAL) edition, Enterprise edition. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_usable_network.go b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_usable_network.go new file mode 100644 index 000000000..7d3a3fadf --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_a_m_usable_network.go @@ -0,0 +1,16 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// IPAMUsableNetwork ipam usable network +// swagger:model IpamUsableNetwork +type IPAMUsableNetwork struct { + + // Labels as key value pairs, used for selection of IPAM networks. Field introduced in 20.1.3. Maximum of 1 items allowed. + Labels []*KeyValueTuple `json:"labels,omitempty"` + + // Network. It is a reference to an object of type Network. Field introduced in 20.1.3. + // Required: true + NwRef *string `json:"nw_ref"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_addr_group.go b/vendor/github.com/avinetworks/sdk/go/models/ip_addr_group.go index c0df61274..f433ff477 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_addr_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_addr_group.go @@ -26,7 +26,7 @@ type IPAddrGroup struct { // Configure (IP address, port) tuple(s). IPPorts []*IPAddrPort `json:"ip_ports,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Populate IP addresses from tasks of this Marathon app. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_community.go b/vendor/github.com/avinetworks/sdk/go/models/ip_community.go index 130ae1c0c..d3e0a95ad 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_community.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_community.go @@ -7,7 +7,7 @@ package models // swagger:model IpCommunity type IPCommunity struct { - // Community *string either in aa nn format where aa, nn is within [1,65535] or local-AS|no-advertise|no-export|internet. Field introduced in 17.1.3. + // Community *string either in aa nn format where aa, nn is within [1,65535] or local-AS|no-advertise|no-export|internet. Field introduced in 17.1.3. Minimum of 1 items required. Maximum of 16 items allowed. Community []string `json:"community,omitempty"` // Beginning of IP address range. Field introduced in 17.1.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_network_subnet.go b/vendor/github.com/avinetworks/sdk/go/models/ip_network_subnet.go index 922482be6..8b64420eb 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_network_subnet.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_network_subnet.go @@ -13,10 +13,10 @@ type IPNetworkSubnet struct { // Subnet for VirtualService IP allocation with Vantage or Infoblox as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. Subnet *IPAddrPrefix `json:"subnet,omitempty"` - // Subnet for VirtualService IPv6 allocation with Vantage or Infoblox as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. Field introduced in 18.1.1. + // Subnet for VirtualService IPv6 allocation with Vantage or Infoblox as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. Field introduced in 18.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. Subnet6 *IPAddrPrefix `json:"subnet6,omitempty"` - // Subnet UUID or Name or Prefix for VirtualService IPv6 allocation with AWS or OpenStack as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. Field introduced in 18.1.1. + // Subnet UUID or Name or Prefix for VirtualService IPv6 allocation with AWS or OpenStack as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. Field introduced in 18.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. Subnet6UUID *string `json:"subnet6_uuid,omitempty"` // Subnet UUID or Name or Prefix for VirtualService IP allocation with AWS or OpenStack as the IPAM provider. Only one of subnet or subnet_uuid configuration is allowed. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_persistence_profile.go b/vendor/github.com/avinetworks/sdk/go/models/ip_persistence_profile.go index 30009118a..2b2e3ad1b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_persistence_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_persistence_profile.go @@ -7,7 +7,7 @@ package models // swagger:model IPPersistenceProfile type IPPersistenceProfile struct { - // Mask to be applied on client IP. This may be used to persist clients from a subnet to the same server. When set to 0, all requests are sent to the same server. Allowed values are 0-128. Field introduced in 18.2.7. + // Mask to be applied on client IP. This may be used to persist clients from a subnet to the same server. When set to 0, all requests are sent to the same server. Allowed values are 0-128. Field introduced in 18.2.7. Allowed in Basic edition, Essentials edition, Enterprise edition. IPMask *int32 `json:"ip_mask,omitempty"` // The length of time after a client's connections have closed before expiring the client's persistence to a server. Allowed values are 1-720. Unit is MIN. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_config.go b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_config.go index cabd78dfa..99653489f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_config.go @@ -10,6 +10,6 @@ type IPReputationConfig struct { // IP reputation db file object expiry duration in days. Allowed values are 1-7. Field introduced in 20.1.1. Unit is DAYS. IPReputationFileObjectExpiryDuration *int32 `json:"ip_reputation_file_object_expiry_duration,omitempty"` - // IP reputation db sync interval in minutes. Allowed values are 2-1440. Field introduced in 20.1.1. Unit is MIN. + // IP reputation db sync interval in minutes. Allowed values are 2-1440. Field introduced in 20.1.1. Unit is MIN. Allowed in Basic(Allowed values- 60) edition, Essentials(Allowed values- 60) edition, Enterprise edition. IPReputationSyncInterval *int32 `json:"ip_reputation_sync_interval,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_d_b.go b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_d_b.go index 6a35d3049..9869d5618 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_d_b.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_d_b.go @@ -11,7 +11,7 @@ type IPReputationDB struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // IP reputation DB base file. It is a reference to an object of type FileObject. Field introduced in 20.1.1. + // IP reputation DB base file. It is a reference to an object of type FileObject. Field introduced in 20.1.1. Maximum of 1 items allowed. BaseFileRefs []string `json:"base_file_refs,omitempty"` // Description. Field introduced in 20.1.1. @@ -20,7 +20,7 @@ type IPReputationDB struct { // IP reputation DB incremental update files. It is a reference to an object of type FileObject. Field introduced in 20.1.1. IncrementalFileRefs []string `json:"incremental_file_refs,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // IP reputation DB name. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_type_match.go b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_type_match.go index 68ebec57e..caeec29de 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_type_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ip_reputation_type_match.go @@ -11,6 +11,6 @@ type IPReputationTypeMatch struct { // Required: true MatchOperation *string `json:"match_operation"` - // IP reputation type. Enum options - IP_REPUTATION_TYPE_SPAM_SOURCE, IP_REPUTATION_TYPE_WINDOWS_EXPLOITS, IP_REPUTATION_TYPE_WEB_ATTACKS, IP_REPUTATION_TYPE_BOTNETS, IP_REPUTATION_TYPE_SCANNERS, IP_REPUTATION_TYPE_DOS, IP_REPUTATION_TYPE_REPUTATION, IP_REPUTATION_TYPE_PHISHING, IP_REPUTATION_TYPE_PROXY, IP_REPUTATION_TYPE_CLOUD, IP_REPUTATION_TYPE_MOBILE_THREATS, IP_REPUTATION_TYPE_TOR, IP_REPUTATION_TYPE_ALL. Field introduced in 20.1.1. + // IP reputation type. Enum options - IP_REPUTATION_TYPE_SPAM_SOURCE, IP_REPUTATION_TYPE_WINDOWS_EXPLOITS, IP_REPUTATION_TYPE_WEB_ATTACKS, IP_REPUTATION_TYPE_BOTNETS, IP_REPUTATION_TYPE_SCANNERS, IP_REPUTATION_TYPE_DOS, IP_REPUTATION_TYPE_REPUTATION, IP_REPUTATION_TYPE_PHISHING, IP_REPUTATION_TYPE_PROXY, IP_REPUTATION_TYPE_CLOUD, IP_REPUTATION_TYPE_MOBILE_THREATS, IP_REPUTATION_TYPE_TOR, IP_REPUTATION_TYPE_ALL. Field introduced in 20.1.1. Minimum of 1 items required. ReputationTypes []string `json:"reputation_types,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/j_w_t_claim_match.go b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_claim_match.go new file mode 100644 index 000000000..4cb81e216 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_claim_match.go @@ -0,0 +1,34 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// JWTClaimMatch j w t claim match +// swagger:model JWTClaimMatch +type JWTClaimMatch struct { + + // Boolean value against which the claim is matched. Field introduced in 20.1.3. + BoolMatch *bool `json:"bool_match,omitempty"` + + // Integer value against which the claim is matched. Field introduced in 20.1.3. + IntMatch *int32 `json:"int_match,omitempty"` + + // Specified Claim should be present in the JWT. Field introduced in 20.1.3. + // Required: true + IsMandatory *bool `json:"is_mandatory"` + + // JWT Claim name to be validated. Field introduced in 20.1.3. + // Required: true + Name *string `json:"name"` + + // String values against which the claim is matched. Field introduced in 20.1.3. + StringMatch *StringMatch `json:"string_match,omitempty"` + + // Specifies the type of the Claim. Enum options - JWT_CLAIM_TYPE_BOOL, JWT_CLAIM_TYPE_INT, JWT_CLAIM_TYPE_STRING. Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` + + // Specifies whether to validate the Claim value. Field introduced in 20.1.3. + // Required: true + Validate *bool `json:"validate"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/j_w_t_match.go b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_match.go new file mode 100644 index 000000000..ef90d6280 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_match.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// JWTMatch j w t match +// swagger:model JWTMatch +type JWTMatch struct { + + // Claims whose values need to be matched. Field introduced in 20.1.3. + Matches []*JWTClaimMatch `json:"matches,omitempty"` + + // Token for which the claims need to be validated. Field introduced in 20.1.3. + TokenName *string `json:"token_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile.go b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile.go new file mode 100644 index 000000000..5809958ed --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile.go @@ -0,0 +1,35 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// JWTServerProfile j w t server profile +// swagger:model JWTServerProfile +type JWTServerProfile struct { + + // UNIX time since epoch in microseconds. Units(MICROSECONDS). + // Read Only: true + LastModified *string `json:"_last_modified,omitempty"` + + // Uniquely identifiable name of the Token Issuer. Field introduced in 20.1.3. + // Required: true + Issuer *string `json:"issuer"` + + // JWKS key set used for validating the JWT. Field introduced in 20.1.3. + // Required: true + JwksKeys *string `json:"jwks_keys"` + + // Name of the JWT Profile. Field introduced in 20.1.3. + // Required: true + Name *string `json:"name"` + + // UUID of the Tenant. It is a reference to an object of type Tenant. Field introduced in 20.1.3. + TenantRef *string `json:"tenant_ref,omitempty"` + + // url + // Read Only: true + URL *string `json:"url,omitempty"` + + // UUID of the JWTProfile. Field introduced in 20.1.3. + UUID *string `json:"uuid,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile_api_response.go similarity index 54% rename from vendor/github.com/avinetworks/sdk/go/models/object_access_policy_api_response.go rename to vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile_api_response.go index ad27b7749..ffb11b6ba 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy_api_response.go +++ b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_server_profile_api_response.go @@ -3,9 +3,9 @@ package models // This file is auto-generated. // Please contact avi-sdk@avinetworks.com for any change requests. -// ObjectAccessPolicyAPIResponse object access policy Api response -// swagger:model ObjectAccessPolicyApiResponse -type ObjectAccessPolicyAPIResponse struct { +// JWTServerProfileAPIResponse j w t server profile Api response +// swagger:model JWTServerProfileApiResponse +type JWTServerProfileAPIResponse struct { // count // Required: true @@ -16,5 +16,5 @@ type ObjectAccessPolicyAPIResponse struct { // results // Required: true - Results []*ObjectAccessPolicy `json:"results,omitempty"` + Results []*JWTServerProfile `json:"results,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/j_w_t_validation_vs_config.go b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_validation_vs_config.go new file mode 100644 index 000000000..76f1bea0b --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/j_w_t_validation_vs_config.go @@ -0,0 +1,20 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// JWTValidationVsConfig j w t validation vs config +// swagger:model JWTValidationVsConfig +type JWTValidationVsConfig struct { + + // Uniquely identifies a resource server. This is used to validate against the aud claim. Field introduced in 20.1.3. + // Required: true + Audience *string `json:"audience"` + + // Defines where to look for JWT in the request. Enum options - JWT_LOCATION_AUTHORIZATION_HEADER, JWT_LOCATION_QUERY_PARAM. Field introduced in 20.1.3. + // Required: true + JwtLocation *string `json:"jwt_location"` + + // Name by which the JWT can be identified if the token is sent as a query param in the request url. Field introduced in 20.1.3. + JwtName *string `json:"jwt_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/jwt_log.go b/vendor/github.com/avinetworks/sdk/go/models/jwt_log.go new file mode 100644 index 000000000..1c43997dc --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/jwt_log.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// JwtLog jwt log +// swagger:model JwtLog +type JwtLog struct { + + // Authentication policy rule match. Field introduced in 20.1.3. + AuthnRuleMatch *AuthnRuleMatch `json:"authn_rule_match,omitempty"` + + // Authorization policy rule match. Field introduced in 20.1.3. + AuthzRuleMatch *AuthzRuleMatch `json:"authz_rule_match,omitempty"` + + // Set to true, if JWT validation is successful. Field introduced in 20.1.3. + IsJwtVerified *bool `json:"is_jwt_verified,omitempty"` + + // JWT token payload. Field introduced in 20.1.3. + TokenPayload *string `json:"token_payload,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/key_value_tuple.go b/vendor/github.com/avinetworks/sdk/go/models/key_value_tuple.go new file mode 100644 index 000000000..cdd29bb77 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/key_value_tuple.go @@ -0,0 +1,16 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// KeyValueTuple key value tuple +// swagger:model KeyValueTuple +type KeyValueTuple struct { + + // Key. Field introduced in 20.1.3. + // Required: true + Key *string `json:"key"` + + // Value. Field introduced in 20.1.3. + Value *string `json:"value,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/l4_policy_set.go b/vendor/github.com/avinetworks/sdk/go/models/l4_policy_set.go index 50c27c7db..fd502bbe4 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/l4_policy_set.go +++ b/vendor/github.com/avinetworks/sdk/go/models/l4_policy_set.go @@ -23,7 +23,7 @@ type L4PolicySet struct { // Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. L4ConnectionPolicy *L4ConnectionPolicy `json:"l4_connection_policy,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the L4 Policy Set. Field introduced in 17.2.7. diff --git a/vendor/github.com/avinetworks/sdk/go/models/l4_rule_action_select_pool.go b/vendor/github.com/avinetworks/sdk/go/models/l4_rule_action_select_pool.go index 9ca5bd52b..834dd23e1 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/l4_rule_action_select_pool.go +++ b/vendor/github.com/avinetworks/sdk/go/models/l4_rule_action_select_pool.go @@ -7,11 +7,11 @@ package models // swagger:model L4RuleActionSelectPool type L4RuleActionSelectPool struct { - // Indicates action to take on rule match. Enum options - L4_RULE_ACTION_SELECT_POOL, L4_RULE_ACTION_SELECT_POOLGROUP. Field introduced in 17.2.7. + // Indicates action to take on rule match. Enum options - L4_RULE_ACTION_SELECT_POOL, L4_RULE_ACTION_SELECT_POOLGROUP. Field introduced in 17.2.7. Allowed in Basic(Allowed values- L4_RULE_ACTION_SELECT_POOL) edition, Essentials(Allowed values- L4_RULE_ACTION_SELECT_POOL) edition, Enterprise edition. // Required: true ActionType *string `json:"action_type"` - // ID of the pool group to serve the request. It is a reference to an object of type PoolGroup. Field introduced in 17.2.7. + // ID of the pool group to serve the request. It is a reference to an object of type PoolGroup. Field introduced in 17.2.7. Allowed in Basic edition, Essentials edition, Enterprise edition. PoolGroupRef *string `json:"pool_group_ref,omitempty"` // ID of the pool of servers to serve the request. It is a reference to an object of type Pool. Field introduced in 17.2.7. diff --git a/vendor/github.com/avinetworks/sdk/go/models/l4_rule_match_target.go b/vendor/github.com/avinetworks/sdk/go/models/l4_rule_match_target.go index 4cceaef27..d2638c9c7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/l4_rule_match_target.go +++ b/vendor/github.com/avinetworks/sdk/go/models/l4_rule_match_target.go @@ -7,12 +7,12 @@ package models // swagger:model L4RuleMatchTarget type L4RuleMatchTarget struct { - // IP addresses to match against client IP. Field introduced in 17.2.7. + // IP addresses to match against client IP. Field introduced in 17.2.7. Allowed in Basic edition, Essentials edition, Enterprise edition. ClientIP *IPAddrMatch `json:"client_ip,omitempty"` // Port number to match against Virtual Service listner port. Field introduced in 17.2.7. Port *L4RulePortMatch `json:"port,omitempty"` - // TCP/UDP/ICMP protocol to match against transport protocol. Field introduced in 17.2.7. + // TCP/UDP/ICMP protocol to match against transport protocol. Field introduced in 17.2.7. Allowed in Basic edition, Essentials edition, Enterprise edition. Protocol *L4RuleProtocolMatch `json:"protocol,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/ldap_auth_settings.go b/vendor/github.com/avinetworks/sdk/go/models/ldap_auth_settings.go index 3a4cecb1d..6a8dda495 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ldap_auth_settings.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ldap_auth_settings.go @@ -25,7 +25,7 @@ type LdapAuthSettings struct { // LDAP connection security mode. Enum options - AUTH_LDAP_SECURE_NONE, AUTH_LDAP_SECURE_USE_LDAPS. SecurityMode *string `json:"security_mode,omitempty"` - // LDAP server IP address or Hostname. Use IP address if an auth profile is used to configure Virtual Service. + // LDAP server IP address or Hostname. Use IP address if an auth profile is used to configure Virtual Service. Minimum of 1 items required. Server []string `json:"server,omitempty"` // LDAP full directory configuration with administrator credentials. diff --git a/vendor/github.com/avinetworks/sdk/go/models/learning_log_policy.go b/vendor/github.com/avinetworks/sdk/go/models/learning_log_policy.go new file mode 100644 index 000000000..204b68a73 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/learning_log_policy.go @@ -0,0 +1,18 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// LearningLogPolicy learning log policy +// swagger:model LearningLogPolicy +type LearningLogPolicy struct { + + // Determine whether app learning logging is enabled. Field introduced in 20.1.3. + Enabled *bool `json:"enabled,omitempty"` + + // Host name where learning logs will be sent to. Field introduced in 20.1.3. + Host *string `json:"host,omitempty"` + + // Port number for the service listening for learning logs. Field introduced in 20.1.3. + Port *int32 `json:"port,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/license_info.go b/vendor/github.com/avinetworks/sdk/go/models/license_info.go index 440cac40d..cd924d866 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/license_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/license_info.go @@ -18,7 +18,7 @@ type LicenseInfo struct { // Specifies the license tier. Field introduced in 20.1.1. TenantUUID *string `json:"tenant_uuid,omitempty"` - // Specifies the license tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 20.1.1. + // Specifies the license tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC, ESSENTIALS. Field introduced in 20.1.1. // Required: true Tier *string `json:"tier"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/license_tier_switch_detiails.go b/vendor/github.com/avinetworks/sdk/go/models/license_tier_switch_detiails.go new file mode 100644 index 000000000..bf3c690f4 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/license_tier_switch_detiails.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// LicenseTierSwitchDetiails license tier switch detiails +// swagger:model LicenseTierSwitchDetiails +type LicenseTierSwitchDetiails struct { + + // destination_tier of LicenseTierSwitchDetiails. + DestinationTier *string `json:"destination_tier,omitempty"` + + // reason of LicenseTierSwitchDetiails. + Reason *string `json:"reason,omitempty"` + + // source_tier of LicenseTierSwitchDetiails. + SourceTier *string `json:"source_tier,omitempty"` + + // status of LicenseTierSwitchDetiails. + Status *string `json:"status,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/license_tier_usage.go b/vendor/github.com/avinetworks/sdk/go/models/license_tier_usage.go index 272614080..9c26841fd 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/license_tier_usage.go +++ b/vendor/github.com/avinetworks/sdk/go/models/license_tier_usage.go @@ -7,7 +7,7 @@ package models // swagger:model LicenseTierUsage type LicenseTierUsage struct { - // Specifies the license tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 20.1.1. + // Specifies the license tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC, ESSENTIALS. Field introduced in 20.1.1. Tier *string `json:"tier,omitempty"` // Usage stats of license tier. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/log_agent_event_detail.go b/vendor/github.com/avinetworks/sdk/go/models/log_agent_event_detail.go new file mode 100644 index 000000000..2f3145f43 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/log_agent_event_detail.go @@ -0,0 +1,20 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// LogAgentEventDetail log agent event detail +// swagger:model LogAgentEventDetail +type LogAgentEventDetail struct { + + // Protocol used for communication to the external entity. Enum options - TCP_CONN. Field introduced in 20.1.3. + // Required: true + Protocol *string `json:"protocol"` + + // Event details for TCP connection event. Field introduced in 20.1.3. + TCPDetail *LogAgentTCPClientEventDetail `json:"tcp_detail,omitempty"` + + // Type of log agent event. Enum options - LOG_AGENT_CONNECTION_ERROR. Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/log_agent_tcp_client_event_detail.go b/vendor/github.com/avinetworks/sdk/go/models/log_agent_tcp_client_event_detail.go new file mode 100644 index 000000000..8aa634656 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/log_agent_tcp_client_event_detail.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// LogAgentTCPClientEventDetail log agent TCP client event detail +// swagger:model LogAgentTCPClientEventDetail +type LogAgentTCPClientEventDetail struct { + + // Field introduced in 20.1.3. + ErrorCode *string `json:"error_code,omitempty"` + + // Field introduced in 20.1.3. + ErrorReason *string `json:"error_reason,omitempty"` + + // Field introduced in 20.1.3. + Host *string `json:"host,omitempty"` + + // Field introduced in 20.1.3. + Port *string `json:"port,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/match_target.go b/vendor/github.com/avinetworks/sdk/go/models/match_target.go index 7161ee356..308392270 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/match_target.go +++ b/vendor/github.com/avinetworks/sdk/go/models/match_target.go @@ -19,7 +19,7 @@ type MatchTarget struct { // Configure the host header. HostHdr *HostHdrMatch `json:"host_hdr,omitempty"` - // Configure IP reputation. Field introduced in 20.2.1. + // Configure IP reputation. Field introduced in 20.1.3. IPReputationType *IPReputationTypeMatch `json:"ip_reputation_type,omitempty"` // Configure HTTP methods. diff --git a/vendor/github.com/avinetworks/sdk/go/models/method_match.go b/vendor/github.com/avinetworks/sdk/go/models/method_match.go index 2d131e69c..23ad93e47 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/method_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/method_match.go @@ -11,6 +11,6 @@ type MethodMatch struct { // Required: true MatchCriteria *string `json:"match_criteria"` - // Configure HTTP method(s). Enum options - HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_PUT, HTTP_METHOD_DELETE, HTTP_METHOD_POST, HTTP_METHOD_OPTIONS, HTTP_METHOD_TRACE, HTTP_METHOD_CONNECT, HTTP_METHOD_PATCH, HTTP_METHOD_PROPFIND, HTTP_METHOD_PROPPATCH, HTTP_METHOD_MKCOL, HTTP_METHOD_COPY, HTTP_METHOD_MOVE, HTTP_METHOD_LOCK, HTTP_METHOD_UNLOCK. + // Configure HTTP method(s). Enum options - HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_PUT, HTTP_METHOD_DELETE, HTTP_METHOD_POST, HTTP_METHOD_OPTIONS, HTTP_METHOD_TRACE, HTTP_METHOD_CONNECT, HTTP_METHOD_PATCH, HTTP_METHOD_PROPFIND, HTTP_METHOD_PROPPATCH, HTTP_METHOD_MKCOL, HTTP_METHOD_COPY, HTTP_METHOD_MOVE, HTTP_METHOD_LOCK, HTTP_METHOD_UNLOCK. Minimum of 1 items required. Maximum of 16 items allowed. Allowed in Basic(Allowed values- HTTP_METHOD_GET,HTTP_METHOD_PUT,HTTP_METHOD_POST,HTTP_METHOD_HEAD,HTTP_METHOD_OPTIONS) edition, Essentials(Allowed values- HTTP_METHOD_GET,HTTP_METHOD_PUT,HTTP_METHOD_POST,HTTP_METHOD_HEAD,HTTP_METHOD_OPTIONS) edition, Enterprise edition. Methods []string `json:"methods,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/metrics_event_threshold.go b/vendor/github.com/avinetworks/sdk/go/models/metrics_event_threshold.go new file mode 100644 index 000000000..4cd6ba86d --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/metrics_event_threshold.go @@ -0,0 +1,19 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// MetricsEventThreshold metrics event threshold +// swagger:model MetricsEventThreshold +type MetricsEventThreshold struct { + + // Type of the metrics event threshold. This value will decide which metric rule (or rules) use configured thresholds. Enum options - THRESHOLD_TYPE_STATIC, SE_CPU_THRESHOLD, SE_MEM_THRESHOLD, SE_DISK_THRESHOLD. Field introduced in 20.1.3. + // Required: true + MetricsEventThresholdType *string `json:"metrics_event_threshold_type"` + + // This value is used to reset the event state machine. Allowed values are 0-100. Field introduced in 20.1.3. + ResetThreshold *float64 `json:"reset_threshold,omitempty"` + + // Threshold value for which event in raised. There can be multiple thresholds defined.Health score degrades when the the target is higher than this threshold. Allowed values are 0-100. Field introduced in 20.1.3. + WatermarkThresholds []int64 `json:"watermark_thresholds,omitempty,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/metrics_real_time_update.go b/vendor/github.com/avinetworks/sdk/go/models/metrics_real_time_update.go index dc68b0591..7bbdce31d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/metrics_real_time_update.go +++ b/vendor/github.com/avinetworks/sdk/go/models/metrics_real_time_update.go @@ -10,7 +10,7 @@ type MetricsRealTimeUpdate struct { // Real time metrics collection duration in minutes. 0 for infinite. Special values are 0 - 'infinite'. Unit is MIN. Duration *int32 `json:"duration,omitempty"` - // Enables real time metrics collection. When disabled, 6 hour view is the most granular the system will track. + // Enables real time metrics collection. When deactivated, 6 hour view is the most granular the system will track. // Required: true Enabled *bool `json:"enabled"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/nat_policy.go b/vendor/github.com/avinetworks/sdk/go/models/nat_policy.go index ede1a48b6..56f6c179b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/nat_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/nat_policy.go @@ -17,7 +17,7 @@ type NatPolicy struct { // Field introduced in 18.2.3. Description *string `json:"description,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the Nat policy. Field introduced in 18.2.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_profile.go b/vendor/github.com/avinetworks/sdk/go/models/network_profile.go index aaa0d21a5..b11b954e0 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_profile.go @@ -17,7 +17,7 @@ type NetworkProfile struct { // User defined description for the object. Description *string `json:"description,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The name of the network profile. diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_profile_union.go b/vendor/github.com/avinetworks/sdk/go/models/network_profile_union.go index 3b00474a0..febe83618 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_profile_union.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_profile_union.go @@ -13,13 +13,13 @@ type NetworkProfileUnion struct { // Placeholder for description of property tcp_proxy_profile of obj type NetworkProfileUnion field type str type object TCPProxyProfile *TCPProxyProfile `json:"tcp_proxy_profile,omitempty"` - // Configure one of either proxy or fast path profiles. Enum options - PROTOCOL_TYPE_TCP_PROXY, PROTOCOL_TYPE_TCP_FAST_PATH, PROTOCOL_TYPE_UDP_FAST_PATH, PROTOCOL_TYPE_UDP_PROXY. + // Configure one of either proxy or fast path profiles. Enum options - PROTOCOL_TYPE_TCP_PROXY, PROTOCOL_TYPE_TCP_FAST_PATH, PROTOCOL_TYPE_UDP_FAST_PATH, PROTOCOL_TYPE_UDP_PROXY. Allowed in Basic(Allowed values- PROTOCOL_TYPE_TCP_PROXY,PROTOCOL_TYPE_TCP_FAST_PATH,PROTOCOL_TYPE_UDP_FAST_PATH) edition, Essentials(Allowed values- PROTOCOL_TYPE_TCP_FAST_PATH,PROTOCOL_TYPE_UDP_FAST_PATH) edition, Enterprise edition. // Required: true Type *string `json:"type"` // Placeholder for description of property udp_fast_path_profile of obj type NetworkProfileUnion field type str type object UDPFastPathProfile *UDPFastPathProfile `json:"udp_fast_path_profile,omitempty"` - // Configure UDP Proxy network profile. Field introduced in 17.2.8, 18.1.3, 18.2.1. + // Configure UDP Proxy network profile. Field introduced in 17.2.8, 18.1.3, 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. UDPProxyProfile *UDPProxyProfile `json:"udp_proxy_profile,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_runtime.go b/vendor/github.com/avinetworks/sdk/go/models/network_runtime.go index 54308939f..75ff7cf6f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_runtime.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_runtime.go @@ -15,7 +15,10 @@ type NetworkRuntime struct { // Required: true Name *string `json:"name"` - // Unique object identifier of se. + // Objects using static IPs in this network. Field introduced in 20.1.3. + ObjUuids []string `json:"obj_uuids,omitempty"` + + // Use obj_uuids. Field deprecated in 20.1.3. SeUUID []string `json:"se_uuid,omitempty"` // Placeholder for description of property subnet_runtime of obj type NetworkRuntime field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_security_match_target.go b/vendor/github.com/avinetworks/sdk/go/models/network_security_match_target.go index 06a4caa27..6b64c3243 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_security_match_target.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_security_match_target.go @@ -10,7 +10,10 @@ type NetworkSecurityMatchTarget struct { // Placeholder for description of property client_ip of obj type NetworkSecurityMatchTarget field type str type object ClientIP *IPAddrMatch `json:"client_ip,omitempty"` - // Field introduced in 20.1.1. + // Matches the source port of incoming packets in the client side traffic. Field introduced in 20.1.3. + ClientPort *PortMatchGeneric `json:"client_port,omitempty"` + + // Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. IPReputationType *IPReputationTypeMatch `json:"ip_reputation_type,omitempty"` // Placeholder for description of property microservice of obj type NetworkSecurityMatchTarget field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_security_policy.go b/vendor/github.com/avinetworks/sdk/go/models/network_security_policy.go index 89f3a5598..d674ad895 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_security_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_security_policy.go @@ -20,10 +20,10 @@ type NetworkSecurityPolicy struct { // User defined description for the object. Description *string `json:"description,omitempty"` - // IP reputation database. It is a reference to an object of type IPReputationDB. Field introduced in 20.1.1. + // IP reputation database. It is a reference to an object of type IPReputationDB. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. IPReputationDbRef *string `json:"ip_reputation_db_ref,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the object. diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_security_rule.go b/vendor/github.com/avinetworks/sdk/go/models/network_security_rule.go index b445d3bed..7ab5434a3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_security_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_security_rule.go @@ -7,11 +7,11 @@ package models // swagger:model NetworkSecurityRule type NetworkSecurityRule struct { - // Enum options - NETWORK_SECURITY_POLICY_ACTION_TYPE_ALLOW, NETWORK_SECURITY_POLICY_ACTION_TYPE_DENY, NETWORK_SECURITY_POLICY_ACTION_TYPE_RATE_LIMIT. + // Enum options - NETWORK_SECURITY_POLICY_ACTION_TYPE_ALLOW, NETWORK_SECURITY_POLICY_ACTION_TYPE_DENY, NETWORK_SECURITY_POLICY_ACTION_TYPE_RATE_LIMIT. Allowed in Basic(Allowed values- NETWORK_SECURITY_POLICY_ACTION_TYPE_DENY) edition, Essentials(Allowed values- NETWORK_SECURITY_POLICY_ACTION_TYPE_DENY) edition, Enterprise edition. // Required: true Action *string `json:"action"` - // Time in minutes after which rule will be deleted. Allowed values are 1-4294967295. Special values are 0- 'blocked for ever'. Unit is MIN. + // Time in minutes after which rule will be deleted. Allowed values are 1-4294967295. Special values are 0- 'blocked for ever'. Unit is MIN. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. Age *int32 `json:"age,omitempty"` // Creator name. @@ -25,7 +25,7 @@ type NetworkSecurityRule struct { // Required: true Index *int32 `json:"index"` - // Placeholder for description of property log of obj type NetworkSecurityRule field type str type boolean + // Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Log *bool `json:"log,omitempty"` // Placeholder for description of property match of obj type NetworkSecurityRule field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_service.go b/vendor/github.com/avinetworks/sdk/go/models/network_service.go index b6e6b0613..094f68a9a 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_service.go @@ -14,7 +14,7 @@ type NetworkService struct { // It is a reference to an object of type Cloud. Field introduced in 18.2.5. CloudRef *string `json:"cloud_ref,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the NetworkService. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/network_subnet_info.go b/vendor/github.com/avinetworks/sdk/go/models/network_subnet_info.go index 745b2219b..30b7baa83 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/network_subnet_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/network_subnet_info.go @@ -22,6 +22,9 @@ type NetworkSubnetInfo struct { // Number of total. Total *int32 `json:"total,omitempty"` + // Enum options - STATIC_IPS_FOR_SE, STATIC_IPS_FOR_VIP, STATIC_IPS_FOR_VIP_AND_SE. + Type *string `json:"type,omitempty"` + // Number of used. Used *int32 `json:"used,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/nsxt_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/nsxt_configuration.go index 7e635610b..2c59be044 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/nsxt_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/nsxt_configuration.go @@ -7,7 +7,7 @@ package models // swagger:model NsxtConfiguration type NsxtConfiguration struct { - // Automatically create DFW rules for VirtualService in NSX-T Manager. Field introduced in 20.1.1. + // Automatically create DFW rules for VirtualService in NSX-T Manager. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Enterprise edition. AutomateDfwRules *bool `json:"automate_dfw_rules,omitempty"` // Domain where NSGroup objects belongs to. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/nsxt_datastores.go b/vendor/github.com/avinetworks/sdk/go/models/nsxt_datastores.go new file mode 100644 index 000000000..43931f09a --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/nsxt_datastores.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// NsxtDatastores nsxt datastores +// swagger:model NsxtDatastores +type NsxtDatastores struct { + + // List of shared datastores. Field introduced in 20.1.2. Allowed in Basic edition, Enterprise edition. + DsIds []string `json:"ds_ids,omitempty"` + + // Include or Exclude. Field introduced in 20.1.2. Allowed in Basic edition, Enterprise edition. + Include *bool `json:"include,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_automatic_mode.go b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_automatic_mode.go index f6068fa38..c6eab3de7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_automatic_mode.go +++ b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_automatic_mode.go @@ -14,6 +14,6 @@ type NsxtTier1SegmentAutomaticMode struct { // The number of SE data vNic's that can be connected to the Avi logical segment. Field introduced in 20.1.1. NumSePerSegment *int32 `json:"num_se_per_segment,omitempty"` - // Tier1 logical router IDs. Field introduced in 20.1.1. + // Tier1 logical router IDs. Field introduced in 20.1.1. Minimum of 1 items required. Tier1LrIds []string `json:"tier1_lr_ids,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_config.go b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_config.go index f78b16b7b..41403f7ae 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_config.go @@ -7,13 +7,13 @@ package models // swagger:model NsxtTier1SegmentConfig type NsxtTier1SegmentConfig struct { - // Avi controller creates and manages logical segments for a Tier-1 LR. Field introduced in 20.1.1. + // Avi controller creates and manages logical segments for a Tier-1 LR. Field introduced in 20.1.1. Allowed in Basic edition, Enterprise edition. Automatic *NsxtTier1SegmentAutomaticMode `json:"automatic,omitempty"` // Avi Admin selects an available logical segment (created by NSX-T admin) associated with a Tier-1 LR. Field introduced in 20.1.1. Manual *NsxtTier1SegmentManualMode `json:"manual,omitempty"` - // Config Mode for selecting the placement logical segments for Avi ServiceEngine data path. Enum options - TIER1_SEGMENT_MANUAL, TIER1_SEGMENT_AUTOMATIC. Field introduced in 20.1.1. + // Config Mode for selecting the placement logical segments for Avi ServiceEngine data path. Enum options - TIER1_SEGMENT_MANUAL, TIER1_SEGMENT_AUTOMATIC. Field introduced in 20.1.1. Allowed in Basic(Allowed values- TIER1_SEGMENT_MANUAL) edition, Enterprise edition. // Required: true SegmentConfigMode *string `json:"segment_config_mode"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_manual_mode.go b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_manual_mode.go index 4ffa13826..a36373651 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_manual_mode.go +++ b/vendor/github.com/avinetworks/sdk/go/models/nsxt_tier1_segment_manual_mode.go @@ -7,6 +7,6 @@ package models // swagger:model NsxtTier1SegmentManualMode type NsxtTier1SegmentManualMode struct { - // Tier1 logical router placement information. Field introduced in 20.1.1. + // Tier1 logical router placement information. Field introduced in 20.1.1. Minimum of 1 items required. Maximum of 128 items allowed. Tier1Lrs []*Tier1LogicalRouterInfo `json:"tier1_lrs,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/ntlm_log.go b/vendor/github.com/avinetworks/sdk/go/models/ntlm_log.go new file mode 100644 index 000000000..aadae9429 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/ntlm_log.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// NtlmLog ntlm log +// swagger:model NtlmLog +type NtlmLog struct { + + // Set to true, if request is detected to be NTLM. Field introduced in 20.1.3. + NtlmDetected *bool `json:"ntlm_detected,omitempty"` + + // Set the NTLM Status. Enum options - NTLM_AUTHENTICATION_SUCCESS, NTLM_UNAUTHORIZED, NTLM_NEGOTIATION, NTLM_AUTHENTICATION_FAILURE, NTLM_AUTHENTICATED_REQUESTS. Field introduced in 20.1.3. + NtlmStatus *string `json:"ntlm_status,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/obj_sync_config.go b/vendor/github.com/avinetworks/sdk/go/models/obj_sync_config.go new file mode 100644 index 000000000..16fd27bcc --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/obj_sync_config.go @@ -0,0 +1,18 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// ObjSyncConfig obj sync config +// swagger:model ObjSyncConfig +type ObjSyncConfig struct { + + // SE CPU limit for InterSE Object Distribution. Allowed values are 15-80. Field introduced in 20.1.3. Unit is PERCENT. + ObjsyncCPULimit *int32 `json:"objsync_cpu_limit,omitempty"` + + // Hub election interval for InterSE Object Distribution. Allowed values are 30-300. Field introduced in 20.1.3. Unit is SEC. + ObjsyncHubElectInterval *int32 `json:"objsync_hub_elect_interval,omitempty"` + + // Reconcile interval for InterSE Object Distribution. Allowed values are 1-120. Field introduced in 20.1.3. Unit is SEC. + ObjsyncReconcileInterval *int32 `json:"objsync_reconcile_interval,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/object_access_match_target.go b/vendor/github.com/avinetworks/sdk/go/models/object_access_match_target.go deleted file mode 100644 index 2a08b1aa4..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/object_access_match_target.go +++ /dev/null @@ -1,17 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// ObjectAccessMatchTarget object access match target -// swagger:model ObjectAccessMatchTarget -type ObjectAccessMatchTarget struct { - - // Key of the label to be matched. Field introduced in 18.2.7, 20.1.1. - // Required: true - LabelKey *string `json:"label_key"` - - // Label values that result in a successful match. Field introduced in 18.2.7, 20.1.1. - // Required: true - LabelValues []string `json:"label_values,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy.go b/vendor/github.com/avinetworks/sdk/go/models/object_access_policy.go deleted file mode 100644 index 33b279a87..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy.go +++ /dev/null @@ -1,31 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// ObjectAccessPolicy object access policy -// swagger:model ObjectAccessPolicy -type ObjectAccessPolicy struct { - - // UNIX time since epoch in microseconds. Units(MICROSECONDS). - // Read Only: true - LastModified *string `json:"_last_modified,omitempty"` - - // Name of the Object Access Policy. Field introduced in 18.2.7, 20.1.1. - // Required: true - Name *string `json:"name"` - - // Rules which grant access to specific objects. Field introduced in 18.2.7, 20.1.1. - // Required: true - Rules []*ObjectAccessPolicyRule `json:"rules,omitempty"` - - // Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 18.2.7, 20.1.1. - TenantRef *string `json:"tenant_ref,omitempty"` - - // url - // Read Only: true - URL *string `json:"url,omitempty"` - - // Uuid of the Object Access Policy. Field introduced in 18.2.7, 20.1.1. - UUID *string `json:"uuid,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy_rule.go b/vendor/github.com/avinetworks/sdk/go/models/object_access_policy_rule.go deleted file mode 100644 index ab4e732af..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/object_access_policy_rule.go +++ /dev/null @@ -1,22 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// ObjectAccessPolicyRule object access policy rule -// swagger:model ObjectAccessPolicyRule -type ObjectAccessPolicyRule struct { - - // Match criteria for the rule. Field introduced in 18.2.7, 20.1.1. - Matches []*ObjectAccessMatchTarget `json:"matches,omitempty"` - - // Name of the rule. Field introduced in 18.2.7, 20.1.1. - Name *string `json:"name,omitempty"` - - // Object types that this rule applies to. Enum options - VIRTUALSERVICE, POOL, HEALTHMONITOR, NETWORKPROFILE, APPLICATIONPROFILE, HTTPPOLICYSET, DNSPOLICY, SECURITYPOLICY, IPADDRGROUP, STRINGGROUP, SSLPROFILE, SSLKEYANDCERTIFICATE, NETWORKSECURITYPOLICY, APPLICATIONPERSISTENCEPROFILE, ANALYTICSPROFILE, VSDATASCRIPTSET, TENANT, PKIPROFILE, AUTHPROFILE, CLOUD.... Field introduced in 18.2.7, 20.1.1. - // Required: true - ObjTypes []string `json:"obj_types,omitempty"` - - // Privilege granted for objects matched by the rule. Enum options - NO_ACCESS, READ_ACCESS, WRITE_ACCESS. Field introduced in 18.2.7, 20.1.1. - Privilege *string `json:"privilege,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/out_of_band_request_log.go b/vendor/github.com/avinetworks/sdk/go/models/out_of_band_request_log.go new file mode 100644 index 000000000..c3c0ff8b1 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/out_of_band_request_log.go @@ -0,0 +1,12 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// OutOfBandRequestLog out of band request log +// swagger:model OutOfBandRequestLog +type OutOfBandRequestLog struct { + + // Logs for out-of-band requests sent from the DataScript. Field introduced in 20.1.3. + DsReqLogs []*DSRequestLog `json:"ds_req_logs,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/p_k_iprofile.go b/vendor/github.com/avinetworks/sdk/go/models/p_k_iprofile.go index c46a70f75..a9eec8fcc 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/p_k_iprofile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/p_k_iprofile.go @@ -23,13 +23,13 @@ type PKIprofile struct { // Certificate Revocation Lists. Crls []*CRL `json:"crls,omitempty"` - // When enabled, Avi will not trust Intermediate and Root certs presented by a client. Instead, only the chain certs configured in the Certificate Authority section will be used to verify trust of the client's cert. + // When enabled, Avi will not trust Intermediate and Root certs presented by a client. Instead, only the chain certs configured in the Certificate Authority section will be used to verify trust of the client's cert. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. Special default for Basic edition is true, Essentials edition is true, Enterprise is False. IgnorePeerChain *bool `json:"ignore_peer_chain,omitempty"` // This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines. If the field is set to true, then the object is replicated across the federation. . Field introduced in 17.1.3. IsFederated *bool `json:"is_federated,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the PKI Profile. @@ -46,6 +46,6 @@ type PKIprofile struct { // Unique object identifier of the object. UUID *string `json:"uuid,omitempty"` - // When enabled, Avi will only validate the revocation status of the leaf certificate using CRL. To enable validation for the entire chain, disable this option and provide all the relevant CRLs. + // When enabled, Avi will only validate the revocation status of the leaf certificate using CRL. To enable validation for the entire chain, disable this option and provide all the relevant CRLs. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. ValidateOnlyLeafCrl *bool `json:"validate_only_leaf_crl,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/path_match.go b/vendor/github.com/avinetworks/sdk/go/models/path_match.go index b1034a6c4..a498c7499 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/path_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/path_match.go @@ -10,7 +10,7 @@ type PathMatch struct { // Case sensitivity to use for the matching. Enum options - SENSITIVE, INSENSITIVE. MatchCase *string `json:"match_case,omitempty"` - // Criterion to use for matching the path in the HTTP request URI. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. + // Criterion to use for matching the path in the HTTP request URI. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. Allowed in Basic(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Essentials(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Enterprise edition. // Required: true MatchCriteria *string `json:"match_criteria"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/ping_access_agent.go b/vendor/github.com/avinetworks/sdk/go/models/ping_access_agent.go index 00937db26..b4cc659f1 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/ping_access_agent.go +++ b/vendor/github.com/avinetworks/sdk/go/models/ping_access_agent.go @@ -14,7 +14,7 @@ type PingAccessAgent struct { // Field introduced in 18.2.3. Description *string `json:"description,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the PingAccess Agent. Field introduced in 18.2.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/placement_scope_config.go b/vendor/github.com/avinetworks/sdk/go/models/placement_scope_config.go index faded53e0..67c7a9b7f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/placement_scope_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/placement_scope_config.go @@ -7,6 +7,9 @@ package models // swagger:model PlacementScopeConfig type PlacementScopeConfig struct { + // List of shared datastores to include or exclude. Field introduced in 20.1.2. Allowed in Basic edition, Enterprise edition. + NsxtDatastores *NsxtDatastores `json:"nsxt_datastores,omitempty"` + // List of transport nodes include or exclude. Field introduced in 20.1.1. NsxtHosts *NsxtHosts `json:"nsxt_hosts,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/pool.go b/vendor/github.com/avinetworks/sdk/go/models/pool.go index dcae2af4e..3e59250ff 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/pool.go +++ b/vendor/github.com/avinetworks/sdk/go/models/pool.go @@ -32,7 +32,7 @@ type Pool struct { // Persistence will ensure the same user sticks to the same server for a desired duration of time. It is a reference to an object of type ApplicationPersistenceProfile. ApplicationPersistenceProfileRef *string `json:"application_persistence_profile_ref,omitempty"` - // If configured then Avi will trigger orchestration of pool server creation and deletion. It is only supported for container clouds like Mesos, Opensift, Kubernates, Docker etc. It is a reference to an object of type AutoScaleLaunchConfig. + // If configured then Avi will trigger orchestration of pool server creation and deletion. It is a reference to an object of type AutoScaleLaunchConfig. AutoscaleLaunchConfigRef *string `json:"autoscale_launch_config_ref,omitempty"` // Network Ids for the launch configuration. @@ -41,10 +41,10 @@ type Pool struct { // Reference to Server Autoscale Policy. It is a reference to an object of type ServerAutoScalePolicy. AutoscalePolicyRef *string `json:"autoscale_policy_ref,omitempty"` - // Inline estimation of capacity of servers. + // Inline estimation of capacity of servers. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. CapacityEstimation *bool `json:"capacity_estimation,omitempty"` - // The maximum time-to-first-byte of a server. Allowed values are 1-5000. Special values are 0 - 'Automatic'. Unit is MILLISECONDS. + // The maximum time-to-first-byte of a server. Allowed values are 1-5000. Special values are 0 - 'Automatic'. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. CapacityEstimationTtfbThresh *int32 `json:"capacity_estimation_ttfb_thresh,omitempty"` // Checksum of cloud configuration for Pool. Internally set by cloud connector. @@ -56,7 +56,7 @@ type Pool struct { // Connnection pool properties. Field introduced in 18.2.1. ConnPoolProperties *ConnPoolProperties `json:"conn_pool_properties,omitempty"` - // Duration for which new connections will be gradually ramped up to a server recently brought online. Useful for LB algorithms that are least connection based. Allowed values are 1-300. Special values are 0 - 'Immediate'. Unit is MIN. + // Duration for which new connections will be gradually ramped up to a server recently brought online. Useful for LB algorithms that are least connection based. Allowed values are 1-300. Special values are 0 - 'Immediate'. Unit is MIN. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. Special default for Basic edition is 0, Essentials edition is 0, Enterprise is 10. ConnectionRampDuration *int32 `json:"connection_ramp_duration,omitempty"` // Creator name. @@ -65,7 +65,7 @@ type Pool struct { // Traffic sent to servers will use this destination server port unless overridden by the server's specific port attribute. The SSL checkbox enables Avi to server encryption. Allowed values are 1-65535. DefaultServerPort *int32 `json:"default_server_port,omitempty"` - // Indicates whether existing IPs are disabled(false) or deleted(true) on dns hostname refreshDetail -- On a dns refresh, some IPs set on pool may no longer be returned by the resolver. These IPs are deleted from the pool when this knob is set to true. They are disabled, if the knob is set to false. Field introduced in 18.2.3. + // Indicates whether existing IPs are disabled(false) or deleted(true) on dns hostname refreshDetail -- On a dns refresh, some IPs set on pool may no longer be returned by the resolver. These IPs are deleted from the pool when this knob is set to true. They are disabled, if the knob is set to false. Field introduced in 18.2.3. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. DeleteServerOnDNSRefresh *bool `json:"delete_server_on_dns_refresh,omitempty"` // A description of the pool. @@ -77,7 +77,7 @@ type Pool struct { // Inherited config from VirtualService. EastWest *bool `json:"east_west,omitempty"` - // Enable HTTP/2 for traffic from VirtualService to all backend servers in this pool. Field introduced in 20.1.1. + // Enable HTTP/2 for traffic from VirtualService to all backend servers in this pool. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableHttp2 *bool `json:"enable_http2,omitempty"` // Enable or disable the pool. Disabling will terminate all open connections and pause health monitors. @@ -95,11 +95,11 @@ type Pool struct { // Used to gracefully disable a server. Virtual service waits for the specified time before terminating the existing connections to the servers that are disabled. Allowed values are 1-7200. Special values are 0 - 'Immediate', -1 - 'Infinite'. Unit is MIN. GracefulDisableTimeout *int32 `json:"graceful_disable_timeout,omitempty"` - // Indicates if the pool is a site-persistence pool. . Field introduced in 17.2.1. + // Indicates if the pool is a site-persistence pool. . Field introduced in 17.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. // Read Only: true GslbSpEnabled *bool `json:"gslb_sp_enabled,omitempty"` - // Verify server health by applying one or more health monitors. Active monitors generate synthetic traffic from each Service Engine and mark a server up or down based on the response. The Passive monitor listens only to client to server communication. It raises or lowers the ratio of traffic destined to a server based on successful responses. It is a reference to an object of type HealthMonitor. + // Verify server health by applying one or more health monitors. Active monitors generate synthetic traffic from each Service Engine and mark a server up or down based on the response. The Passive monitor listens only to client to server communication. It raises or lowers the ratio of traffic destined to a server based on successful responses. It is a reference to an object of type HealthMonitor. Maximum of 50 items allowed. HealthMonitorRefs []string `json:"health_monitor_refs,omitempty"` // Enable common name check for server certificate. If enabled and no explicit domain name is specified, Avi will use the incoming host header to do the match. @@ -114,22 +114,22 @@ type Pool struct { // Use list of servers from Ip Address Group. It is a reference to an object of type IpAddrGroup. IpaddrgroupRef *string `json:"ipaddrgroup_ref,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` - // The load balancing algorithm will pick a server within the pool's list of available servers. Enum options - LB_ALGORITHM_LEAST_CONNECTIONS, LB_ALGORITHM_ROUND_ROBIN, LB_ALGORITHM_FASTEST_RESPONSE, LB_ALGORITHM_CONSISTENT_HASH, LB_ALGORITHM_LEAST_LOAD, LB_ALGORITHM_FEWEST_SERVERS, LB_ALGORITHM_RANDOM, LB_ALGORITHM_FEWEST_TASKS, LB_ALGORITHM_NEAREST_SERVER, LB_ALGORITHM_CORE_AFFINITY, LB_ALGORITHM_TOPOLOGY. + // The load balancing algorithm will pick a server within the pool's list of available servers. Values LB_ALGORITHM_NEAREST_SERVER and LB_ALGORITHM_TOPOLOGY are only allowed for GSLB pool. Enum options - LB_ALGORITHM_LEAST_CONNECTIONS, LB_ALGORITHM_ROUND_ROBIN, LB_ALGORITHM_FASTEST_RESPONSE, LB_ALGORITHM_CONSISTENT_HASH, LB_ALGORITHM_LEAST_LOAD, LB_ALGORITHM_FEWEST_SERVERS, LB_ALGORITHM_RANDOM, LB_ALGORITHM_FEWEST_TASKS, LB_ALGORITHM_NEAREST_SERVER, LB_ALGORITHM_CORE_AFFINITY, LB_ALGORITHM_TOPOLOGY. Allowed in Basic(Allowed values- LB_ALGORITHM_LEAST_CONNECTIONS,LB_ALGORITHM_ROUND_ROBIN,LB_ALGORITHM_CONSISTENT_HASH) edition, Essentials(Allowed values- LB_ALGORITHM_LEAST_CONNECTIONS,LB_ALGORITHM_ROUND_ROBIN,LB_ALGORITHM_CONSISTENT_HASH) edition, Enterprise edition. LbAlgorithm *string `json:"lb_algorithm,omitempty"` // HTTP header name to be used for the hash key. LbAlgorithmConsistentHashHdr *string `json:"lb_algorithm_consistent_hash_hdr,omitempty"` - // Degree of non-affinity for core affinity based server selection. Allowed values are 1-65535. Field introduced in 17.1.3. + // Degree of non-affinity for core affinity based server selection. Allowed values are 1-65535. Field introduced in 17.1.3. Allowed in Basic(Allowed values- 2) edition, Essentials(Allowed values- 2) edition, Enterprise edition. LbAlgorithmCoreNonaffinity *int32 `json:"lb_algorithm_core_nonaffinity,omitempty"` - // Criteria used as a key for determining the hash between the client and server. Enum options - LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS, LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS_AND_PORT, LB_ALGORITHM_CONSISTENT_HASH_URI, LB_ALGORITHM_CONSISTENT_HASH_CUSTOM_HEADER, LB_ALGORITHM_CONSISTENT_HASH_CUSTOM_STRING, LB_ALGORITHM_CONSISTENT_HASH_CALLID. + // Criteria used as a key for determining the hash between the client and server. Enum options - LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS, LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS_AND_PORT, LB_ALGORITHM_CONSISTENT_HASH_URI, LB_ALGORITHM_CONSISTENT_HASH_CUSTOM_HEADER, LB_ALGORITHM_CONSISTENT_HASH_CUSTOM_STRING, LB_ALGORITHM_CONSISTENT_HASH_CALLID. Allowed in Basic(Allowed values- LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS) edition, Essentials(Allowed values- LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS) edition, Enterprise edition. LbAlgorithmHash *string `json:"lb_algorithm_hash,omitempty"` - // Allow server lookup by name. Field introduced in 17.1.11,17.2.4. + // Allow server lookup by name. Field introduced in 17.1.11,17.2.4. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. LookupServerByName *bool `json:"lookup_server_by_name,omitempty"` // The maximum number of concurrent connections allowed to each server within the pool. NOTE applied value will be no less than the number of service engines that the pool is placed on. If set to 0, no limit is applied. @@ -138,7 +138,7 @@ type Pool struct { // Rate Limit connections to each server. MaxConnRatePerServer *RateProfile `json:"max_conn_rate_per_server,omitempty"` - // Minimum number of health monitors in UP state to mark server UP. Field introduced in 18.2.1, 17.2.12. + // Minimum number of health monitors in UP state to mark server UP. Field introduced in 18.2.1, 17.2.12. Allowed in Basic edition, Essentials edition, Enterprise edition. MinHealthMonitorsUp *int32 `json:"min_health_monitors_up,omitempty"` // Minimum number of servers in UP state for marking the pool UP. Field introduced in 18.2.1, 17.2.12. @@ -163,12 +163,15 @@ type Pool struct { // Header name for custom header persistence. Field deprecated in 18.1.2. PrstHdrName *string `json:"prst_hdr_name,omitempty"` - // Minimum number of requests to be queued when pool is full. + // Minimum number of requests to be queued when pool is full. Allowed in Basic(Allowed values- 128) edition, Essentials(Allowed values- 128) edition, Enterprise edition. RequestQueueDepth *int32 `json:"request_queue_depth,omitempty"` - // Enable request queue when pool is full. + // Enable request queue when pool is full. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. RequestQueueEnabled *bool `json:"request_queue_enabled,omitempty"` + // This field is used as a flag to create a job for JobManager. Field introduced in 18.2.10,20.1.2. + ResolvePoolByDNS *bool `json:"resolve_pool_by_dns,omitempty"` + // Rewrite incoming Host Header to server name of the server to which the request is proxied. Enabling this feature rewrites Host Header for requests to all servers in the pool. RewriteHostHeaderToServerName *bool `json:"rewrite_host_header_to_server_name,omitempty"` @@ -193,7 +196,7 @@ type Pool struct { // Server timeout value specifies the time within which a server connection needs to be established and a request-response exchange completes between AVI and the server. Value of 0 results in using default timeout of 60 minutes. Allowed values are 0-3600000. Field introduced in 18.1.5,18.2.1. Unit is MILLISECONDS. ServerTimeout *int32 `json:"server_timeout,omitempty"` - // The pool directs load balanced traffic to this list of destination servers. The servers can be configured by IP address, name, network or via IP Address Group. + // The pool directs load balanced traffic to this list of destination servers. The servers can be configured by IP address, name, network or via IP Address Group. Maximum of 5000 items allowed. Servers []*Server `json:"servers,omitempty"` // Metadata pertaining to the service provided by this Pool. In Openshift/Kubernetes environments, app metadata info is stored. Any user input to this field will be overwritten by Avi Vantage. Field introduced in 17.2.14,18.1.5,18.2.1. @@ -218,7 +221,7 @@ type Pool struct { // Read Only: true URL *string `json:"url,omitempty"` - // Do not translate the client's destination port when sending the connection to the server. The pool or servers specified service port will still be used for health monitoring. + // Do not translate the client's destination port when sending the connection to the server. The pool or servers specified service port will still be used for health monitoring. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. UseServicePort *bool `json:"use_service_port,omitempty"` // UUID of the pool. diff --git a/vendor/github.com/avinetworks/sdk/go/models/pool_group.go b/vendor/github.com/avinetworks/sdk/go/models/pool_group.go index ff62d0078..f407ddbaf 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/pool_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/pool_group.go @@ -26,7 +26,7 @@ type PoolGroup struct { // Description of Pool Group. Description *string `json:"description,omitempty"` - // Enable HTTP/2 for traffic from VirtualService to all the backend servers in all the pools configured under this PoolGroup. Field introduced in 20.1.1. + // Enable HTTP/2 for traffic from VirtualService to all the backend servers in all the pools configured under this PoolGroup. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableHttp2 *bool `json:"enable_http2,omitempty"` // Enable an action - Close Connection, HTTP Redirect, or Local HTTP Response - when a pool group failure happens. By default, a connection will be closed, in case the pool group experiences a failure. @@ -35,13 +35,13 @@ type PoolGroup struct { // Whether an implicit set of priority labels is generated. Field introduced in 17.1.9,17.2.3. ImplicitPriorityLabels *bool `json:"implicit_priority_labels,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // List of pool group members object of type PoolGroupMember. Members []*PoolGroupMember `json:"members,omitempty"` - // The minimum number of servers to distribute traffic to. Allowed values are 1-65535. Special values are 0 - 'Disable'. + // The minimum number of servers to distribute traffic to. Allowed values are 1-65535. Special values are 0 - 'Disable'. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. MinServers *int32 `json:"min_servers,omitempty"` // The name of the pool group. diff --git a/vendor/github.com/avinetworks/sdk/go/models/pool_group_deployment_policy.go b/vendor/github.com/avinetworks/sdk/go/models/pool_group_deployment_policy.go index 99504694a..e2430e799 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/pool_group_deployment_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/pool_group_deployment_policy.go @@ -20,7 +20,7 @@ type PoolGroupDeploymentPolicy struct { // Duration of evaluation period for automatic deployment. Allowed values are 60-86400. Unit is SEC. EvaluationDuration *int32 `json:"evaluation_duration,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The name of the pool group deployment policy. diff --git a/vendor/github.com/avinetworks/sdk/go/models/pool_group_member.go b/vendor/github.com/avinetworks/sdk/go/models/pool_group_member.go index 41b35fe9c..4489d1468 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/pool_group_member.go +++ b/vendor/github.com/avinetworks/sdk/go/models/pool_group_member.go @@ -17,6 +17,6 @@ type PoolGroupMember struct { // All pools with same label are treated similarly in a pool group. A pool with a higher priority is selected, as long as the pool is eligible or an explicit policy chooses a different pool. PriorityLabel *string `json:"priority_label,omitempty"` - // Ratio of selecting eligible pools in the pool group. . Allowed values are 1-1000. Special values are 0 - 'Do not select this pool for new connections'. + // Ratio of selecting eligible pools in the pool group. . Allowed values are 1-1000. Special values are 0 - 'Do not select this pool for new connections'. Allowed in Basic(Allowed values- 1) edition, Essentials(Allowed values- 1) edition, Enterprise edition. Ratio *int32 `json:"ratio,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/port_match.go b/vendor/github.com/avinetworks/sdk/go/models/port_match.go index b7268cc0d..c21395dff 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/port_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/port_match.go @@ -11,6 +11,6 @@ type PortMatch struct { // Required: true MatchCriteria *string `json:"match_criteria"` - // Listening TCP port(s). Allowed values are 1-65535. + // Listening TCP port(s). Allowed values are 1-65535. Minimum of 1 items required. Ports []int64 `json:"ports,omitempty,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/port_match_generic.go b/vendor/github.com/avinetworks/sdk/go/models/port_match_generic.go new file mode 100644 index 000000000..cb97dbf64 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/port_match_generic.go @@ -0,0 +1,19 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// PortMatchGeneric port match generic +// swagger:model PortMatchGeneric +type PortMatchGeneric struct { + + // Criterion to use for src/dest port in a TCP/UDP packet. Enum options - IS_IN, IS_NOT_IN. Field introduced in 20.1.3. + // Required: true + MatchCriteria *string `json:"match_criteria"` + + // Listening TCP port(s). Allowed values are 1-65535. + Ports []int64 `json:"ports,omitempty,omitempty"` + + // A port range defined by a start and end, including both. Field introduced in 20.1.3. + Ranges []*PortRange `json:"ranges,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/portal_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/portal_configuration.go index 3887e8a27..a8e201769 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/portal_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/portal_configuration.go @@ -34,13 +34,16 @@ type PortalConfiguration struct { // HTTPS port. HTTPSPort *int32 `json:"https_port,omitempty"` + // Minimum password length for user accounts. Allowed values are 6-32. Field introduced in 20.1.3. + MinimumPasswordLength *int32 `json:"minimum_password_length,omitempty"` + // Strict checking of password strength for user accounts. PasswordStrengthCheck *bool `json:"password_strength_check,omitempty"` // Placeholder for description of property redirect_to_https of obj type PortalConfiguration field type str type boolean RedirectToHTTPS *bool `json:"redirect_to_https,omitempty"` - // Certificates for system portal. Maximum 2 allowed. Leave list empty to use system default certs. It is a reference to an object of type SSLKeyAndCertificate. + // Certificates for system portal. Maximum 2 allowed. Leave list empty to use system default certs. It is a reference to an object of type SSLKeyAndCertificate. Maximum of 2 items allowed. SslkeyandcertificateRefs []string `json:"sslkeyandcertificate_refs,omitempty"` // It is a reference to an object of type SSLProfile. diff --git a/vendor/github.com/avinetworks/sdk/go/models/portal_feature_opt_in.go b/vendor/github.com/avinetworks/sdk/go/models/portal_feature_opt_in.go index e6ba236d3..4c71f4f2d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/portal_feature_opt_in.go +++ b/vendor/github.com/avinetworks/sdk/go/models/portal_feature_opt_in.go @@ -7,18 +7,18 @@ package models // swagger:model PortalFeatureOptIn type PortalFeatureOptIn struct { - // Flag to check if the user has opted in for proactive case creation on service engine failure. Field introduced in 20.1.1. + // Flag to check if the user has opted in for proactive case creation on service engine failure. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableAutoCaseCreationOnSeFailure *bool `json:"enable_auto_case_creation_on_se_failure,omitempty"` - // Flag to check if the user has opted in for proactive case creation on system failure. Field introduced in 20.1.1. + // Flag to check if the user has opted in for proactive case creation on system failure. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableAutoCaseCreationOnSystemFailure *bool `json:"enable_auto_case_creation_on_system_failure,omitempty"` - // Flag to check if the user has opted in for auto deployment of CRS data on controller. Field introduced in 20.1.1. + // Flag to check if the user has opted in for auto deployment of CRS data on controller. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableAutoDownloadWafSignatures *bool `json:"enable_auto_download_waf_signatures,omitempty"` - // Flag to check if the user has opted in for automated IP reputation db sync. Field introduced in 20.1.1. + // Flag to check if the user has opted in for automated IP reputation db sync. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableIPReputation *bool `json:"enable_ip_reputation,omitempty"` - // Flag to check if the user has opted in for notifications about the availability of new CRS data. Field introduced in 20.1.1. + // Flag to check if the user has opted in for notifications about the availability of new CRS data. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableWafSignaturesNotifications *bool `json:"enable_waf_signatures_notifications,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload.go b/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload.go deleted file mode 100644 index 6332e27da..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload.go +++ /dev/null @@ -1,43 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// PortalFileUpload portal file upload -// swagger:model PortalFileUpload -type PortalFileUpload struct { - - // UNIX time since epoch in microseconds. Units(MICROSECONDS). - // Read Only: true - LastModified *string `json:"_last_modified,omitempty"` - - // Salesforce alphanumeric CaseID to attach uploaded file to. Field introduced in 18.2.6. - CaseID *string `json:"case_id,omitempty"` - - // Error reported during file upload. Field introduced in 18.2.6. - Error *string `json:"error,omitempty"` - - // Stores output file path, for upload to AWS S3. Field introduced in 18.2.6. - // Required: true - FilePath *string `json:"file_path"` - - // Field introduced in 18.2.6. - // Required: true - Name *string `json:"name"` - - // Custom AWS S3 Directory Path to upload file. Field introduced in 18.2.6. - S3Directory *string `json:"s3_directory,omitempty"` - - // Captures status for 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_BAD_REQUEST, SYSERR_TEST1.... Field introduced in 18.2.6. - Status *string `json:"status,omitempty"` - - // It is a reference to an object of type Tenant. Field introduced in 18.2.6. - TenantRef *string `json:"tenant_ref,omitempty"` - - // url - // Read Only: true - URL *string `json:"url,omitempty"` - - // Unique object identifier of the object. - UUID *string `json:"uuid,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload_api_response.go deleted file mode 100644 index 3ab6616aa..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/portal_file_upload_api_response.go +++ /dev/null @@ -1,17 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// PortalFileUploadAPIResponse portal file upload Api response -// swagger:model PortalFileUploadApiResponse -type PortalFileUploadAPIResponse struct { - - // count - // Required: true - Count *int32 `json:"count"` - - // results - // Required: true - Results []*PortalFileUpload `json:"results,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/priority_labels.go b/vendor/github.com/avinetworks/sdk/go/models/priority_labels.go index 203623759..5a940233d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/priority_labels.go +++ b/vendor/github.com/avinetworks/sdk/go/models/priority_labels.go @@ -20,7 +20,7 @@ type PriorityLabels struct { // Equivalent priority labels in descending order. EquivalentLabels []*EquivalentLabels `json:"equivalent_labels,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The name of the priority labels. diff --git a/vendor/github.com/avinetworks/sdk/go/models/proactive_support_defaults.go b/vendor/github.com/avinetworks/sdk/go/models/proactive_support_defaults.go index bceba0fdf..e93ef65f5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/proactive_support_defaults.go +++ b/vendor/github.com/avinetworks/sdk/go/models/proactive_support_defaults.go @@ -7,10 +7,10 @@ package models // swagger:model ProactiveSupportDefaults type ProactiveSupportDefaults struct { - // Opt-in to attach core dump with support case. Field introduced in 20.1.1. + // Opt-in to attach core dump with support case. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AttachCoreDump *bool `json:"attach_core_dump,omitempty"` - // Opt-in to attach tech support with support case. Field introduced in 20.1.1. + // Opt-in to attach tech support with support case. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AttachTechSupport *bool `json:"attach_tech_support,omitempty"` // Case severity to be used for proactive support case creation. Field introduced in 20.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/protocol_parser.go b/vendor/github.com/avinetworks/sdk/go/models/protocol_parser.go index 550806cb6..ba1570285 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/protocol_parser.go +++ b/vendor/github.com/avinetworks/sdk/go/models/protocol_parser.go @@ -14,7 +14,7 @@ type ProtocolParser struct { // Description of the protocol parser. Field introduced in 18.2.3. Description *string `json:"description,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the protocol parser. Field introduced in 18.2.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/rm_spawn_se_event_details.go b/vendor/github.com/avinetworks/sdk/go/models/rm_spawn_se_event_details.go index 7df282223..815b6793e 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/rm_spawn_se_event_details.go +++ b/vendor/github.com/avinetworks/sdk/go/models/rm_spawn_se_event_details.go @@ -16,6 +16,9 @@ type RmSpawnSeEventDetails struct { // Unique object identifier of cloud. CloudUUID *string `json:"cloud_uuid,omitempty"` + // Field introduced in 20.1.2. + FlavorName *string `json:"flavor_name,omitempty"` + // host_name of RmSpawnSeEventDetails. HostName *string `json:"host_name,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/role.go b/vendor/github.com/avinetworks/sdk/go/models/role.go index 57c0dbe29..a5e90ceb9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/role.go +++ b/vendor/github.com/avinetworks/sdk/go/models/role.go @@ -11,7 +11,7 @@ type Role struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // Filters for granular object access control based on object labels. Multiple filters are merged using the AND operator. If empty, all objects according to the privileges will be accessible to the user. Field introduced in 20.2.1. + // Filters for granular object access control based on object labels. Multiple filters are merged using the AND operator. If empty, all objects according to the privileges will be accessible to the user. Field introduced in 20.1.3. Maximum of 4 items allowed. Filters []*RoleFilter `json:"filters,omitempty"` // Name of the object. diff --git a/vendor/github.com/avinetworks/sdk/go/models/role_filter.go b/vendor/github.com/avinetworks/sdk/go/models/role_filter.go index c3fb2cc1d..35c128c0e 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/role_filter.go +++ b/vendor/github.com/avinetworks/sdk/go/models/role_filter.go @@ -7,16 +7,16 @@ package models // swagger:model RoleFilter type RoleFilter struct { - // Enable this filter. Field introduced in 20.2.1. + // Enable this filter. Field introduced in 20.1.3. Enabled *bool `json:"enabled,omitempty"` - // Label key to match against objects for values. Field introduced in 20.2.1. + // Label key to match against objects for values. Field introduced in 20.1.3. // Required: true MatchLabel *RoleFilterMatchLabel `json:"match_label"` - // Label match operation criteria. Enum options - ROLE_FILTER_EQUALS, ROLE_FILTER_DOES_NOT_EQUAL, ROLE_FILTER_GLOB_MATCH, ROLE_FILTER_GLOB_DOES_NOT_MATCH. Field introduced in 20.2.1. + // Label match operation criteria. Enum options - ROLE_FILTER_EQUALS, ROLE_FILTER_DOES_NOT_EQUAL, ROLE_FILTER_GLOB_MATCH, ROLE_FILTER_GLOB_DOES_NOT_MATCH. Field introduced in 20.1.3. MatchOperation *string `json:"match_operation,omitempty"` - // Name for the filter. Field introduced in 20.2.1. + // Name for the filter. Field introduced in 20.1.3. Name *string `json:"name,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/role_filter_match_label.go b/vendor/github.com/avinetworks/sdk/go/models/role_filter_match_label.go index 58513f84b..4c12289db 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/role_filter_match_label.go +++ b/vendor/github.com/avinetworks/sdk/go/models/role_filter_match_label.go @@ -7,10 +7,10 @@ package models // swagger:model RoleFilterMatchLabel type RoleFilterMatchLabel struct { - // Key for filter match. Field introduced in 20.2.1. + // Key for filter match. Field introduced in 20.1.3. // Required: true Key *string `json:"key"` - // Values for filter match. Multiple values will be evaluated as OR. Example key = value1 OR key = value2. Behavior for match is key = * if this field is empty. Field introduced in 20.2.1. + // Values for filter match. Multiple values will be evaluated as OR. Example key = value1 OR key = value2. Behavior for match is key = * if this field is empty. Field introduced in 20.1.3. Values []string `json:"values,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/routing_service.go b/vendor/github.com/avinetworks/sdk/go/models/routing_service.go index 1d7aaa3c8..321820612 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/routing_service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/routing_service.go @@ -22,10 +22,10 @@ type RoutingService struct { // Use Virtual MAC address for interfaces on which floating interface IPs are placed. Field introduced in 18.2.5. EnableVMAC *bool `json:"enable_vmac,omitempty"` - // Floating Interface IPs for the RoutingService. Field introduced in 18.2.5. + // Floating Interface IPs for the RoutingService. Field introduced in 18.2.5. Maximum of 32 items allowed. FloatingIntfIP []*IPAddr `json:"floating_intf_ip,omitempty"` - // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 2 Tag will advertise this floating IP when manual load distribution is enabled. Field introduced in 18.2.5. + // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 2 Tag will advertise this floating IP when manual load distribution is enabled. Field introduced in 18.2.5. Maximum of 32 items allowed. FloatingIntfIPSe2 []*IPAddr `json:"floating_intf_ip_se_2,omitempty"` // Routing Service related Flow profile information. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_e_bandwidth_limit.go b/vendor/github.com/avinetworks/sdk/go/models/s_e_bandwidth_limit.go deleted file mode 100644 index dd2f01b8a..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/s_e_bandwidth_limit.go +++ /dev/null @@ -1,15 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// SEBandwidthLimit s e bandwidth limit -// swagger:model SEBandwidthLimit -type SEBandwidthLimit struct { - - // Total number of Service Engines for bandwidth based licenses. Field introduced in 17.2.5. - Count *int32 `json:"count,omitempty"` - - // Maximum bandwidth allowed by each Service Engine. Enum options - SE_BANDWIDTH_UNLIMITED, SE_BANDWIDTH_25M, SE_BANDWIDTH_200M, SE_BANDWIDTH_1000M, SE_BANDWIDTH_10000M. Field introduced in 17.2.5. - Type *string `json:"type,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_cipher_list.go b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_cipher_list.go index a18ff6a56..81d480b44 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_cipher_list.go +++ b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_cipher_list.go @@ -7,9 +7,9 @@ package models // swagger:model SSLCipherList type SSLCipherList struct { - // List of ciphers from the client's SSL cipher list that could be identified. The ciphers are represented by their RFC name. Enum options - AVI_TLS_NULL_WITH_NULL_NULL, AVI_TLS_RSA_WITH_NULL_MD5, AVI_TLS_RSA_WITH_NULL_SHA, AVI_TLS_RSA_EXPORT_WITH_RC4_40_MD5, AVI_TLS_RSA_WITH_RC4_128_MD5, AVI_TLS_RSA_WITH_RC4_128_SHA, AVI_TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, AVI_TLS_RSA_WITH_IDEA_CBC_SHA, AVI_TLS_RSA_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_RSA_WITH_DES_CBC_SHA, AVI_TLS_RSA_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DH_DSS_WITH_DES_CBC_SHA, AVI_TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DH_RSA_WITH_DES_CBC_SHA, AVI_TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DHE_DSS_WITH_DES_CBC_SHA, AVI_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.... Field introduced in 18.1.4, 18.2.1. + // List of ciphers from the client's SSL cipher list that could be identified. The ciphers are represented by their RFC name. Enum options - AVI_TLS_NULL_WITH_NULL_NULL, AVI_TLS_RSA_WITH_NULL_MD5, AVI_TLS_RSA_WITH_NULL_SHA, AVI_TLS_RSA_EXPORT_WITH_RC4_40_MD5, AVI_TLS_RSA_WITH_RC4_128_MD5, AVI_TLS_RSA_WITH_RC4_128_SHA, AVI_TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, AVI_TLS_RSA_WITH_IDEA_CBC_SHA, AVI_TLS_RSA_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_RSA_WITH_DES_CBC_SHA, AVI_TLS_RSA_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DH_DSS_WITH_DES_CBC_SHA, AVI_TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DH_RSA_WITH_DES_CBC_SHA, AVI_TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, AVI_TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, AVI_TLS_DHE_DSS_WITH_DES_CBC_SHA, AVI_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.... Field introduced in 18.1.4, 18.2.1. Maximum of 255 items allowed. IdentifiedCiphers []string `json:"identified_ciphers,omitempty"` - // List of ciphers from the client's SSL cipher list, that could not be identified. The ciphers are represented by their RFC 2 byte hex value. Field introduced in 18.1.4, 18.2.1. + // List of ciphers from the client's SSL cipher list, that could not be identified. The ciphers are represented by their RFC 2 byte hex value. Field introduced in 18.1.4, 18.2.1. Maximum of 255 items allowed. UnidentifiedCiphers []string `json:"unidentified_ciphers,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_key_and_certificate.go b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_key_and_certificate.go index 019b376b0..77a3d4437 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_key_and_certificate.go +++ b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_key_and_certificate.go @@ -30,7 +30,7 @@ type SSLKeyAndCertificate struct { // Dynamic parameters needed for certificate management profile. DynamicParams []*CustomParams `json:"dynamic_params,omitempty"` - // Enables OCSP Stapling. Field introduced in 20.1.1. + // Enables OCSP Stapling. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableOcspStapling *bool `json:"enable_ocsp_stapling,omitempty"` // Encrypted private key corresponding to the private key (e.g. those generated by an HSM such as Thales nShield). @@ -57,24 +57,26 @@ type SSLKeyAndCertificate struct { // Passphrase used to encrypt the private key. KeyPassphrase *string `json:"key_passphrase,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the object. // Required: true Name *string `json:"name"` - // Configuration related to OCSP. Field introduced in 20.1.1. + // Configuration related to OCSP. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. OcspConfig *OCSPConfig `json:"ocsp_config,omitempty"` - // Error reported during OCSP status query. Enum options - OCSP_ERR_CERTSTATUS_GOOD, OCSP_ERR_CERTSTATUS_REVOKED, OCSP_ERR_CERTSTATUS_UNKNOWN, OCSP_ERR_CERTSTATUS_SERVERFAIL_ERR, OCSP_ERR_CERTSTATUS_JOBDB, OCSP_ERR_CERTSTATUS_DISABLED, OCSP_ERR_CERTSTATUS_GETCERT, OCSP_ERR_CERTSTATUS_NONVSCERT, OCSP_ERR_CERTSTATUS_SELFSIGNED, OCSP_ERR_CERTSTATUS_CERTFINISH, OCSP_ERR_CERTSTATUS_CACERT, OCSP_ERR_CERTSTATUS_REQUEST, OCSP_ERR_CERTSTATUS_ISSUER_REVOKED, OCSP_ERR_CERTSTATUS_PARSE_CERT, OCSP_ERR_CERTSTATUS_HTTP_REQ, OCSP_ERR_CERTSTATUS_URL_LIST, OCSP_ERR_CERTSTATUS_HTTP_SEND, OCSP_ERR_CERTSTATUS_HTTP_RECV, OCSP_ERR_CERTSTATUS_HTTP_RESP. Field introduced in 20.1.1. + // Error reported during OCSP status query. Enum options - OCSP_ERR_CERTSTATUS_GOOD, OCSP_ERR_CERTSTATUS_REVOKED, OCSP_ERR_CERTSTATUS_UNKNOWN, OCSP_ERR_CERTSTATUS_SERVERFAIL_ERR, OCSP_ERR_CERTSTATUS_JOBDB, OCSP_ERR_CERTSTATUS_DISABLED, OCSP_ERR_CERTSTATUS_GETCERT, OCSP_ERR_CERTSTATUS_NONVSCERT, OCSP_ERR_CERTSTATUS_SELFSIGNED, OCSP_ERR_CERTSTATUS_CERTFINISH, OCSP_ERR_CERTSTATUS_CACERT, OCSP_ERR_CERTSTATUS_REQUEST, OCSP_ERR_CERTSTATUS_ISSUER_REVOKED, OCSP_ERR_CERTSTATUS_PARSE_CERT, OCSP_ERR_CERTSTATUS_HTTP_REQ, OCSP_ERR_CERTSTATUS_URL_LIST, OCSP_ERR_CERTSTATUS_HTTP_SEND, OCSP_ERR_CERTSTATUS_HTTP_RECV, OCSP_ERR_CERTSTATUS_HTTP_RESP. Field introduced in 20.1.1. Allowed in Basic(Allowed values- OCSP_ERR_CERTSTATUS_DISABLED) edition, Essentials(Allowed values- OCSP_ERR_CERTSTATUS_DISABLED) edition, Enterprise edition. + // Read Only: true OcspErrorStatus *string `json:"ocsp_error_status,omitempty"` - // This is an Internal field to store the OCSP Responder URLs contained in the certificate. Field introduced in 20.1.1. + // This is an Internal field to store the OCSP Responder URLs contained in the certificate. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. // Read Only: true OcspResponderURLListFromCerts []string `json:"ocsp_responder_url_list_from_certs,omitempty"` - // Information related to OCSP response. Field introduced in 20.1.1. + // Information related to OCSP response. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. + // Read Only: true OcspResponseInfo *OCSPResponseInfo `json:"ocsp_response_info,omitempty"` // Enum options - SSL_CERTIFICATE_FINISHED, SSL_CERTIFICATE_PENDING. diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_profile.go b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_profile.go index b8153a76b..423e21785 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_profile.go @@ -14,13 +14,13 @@ type SSLProfile struct { // Ciphers suites represented as defined by U(http //www.openssl.org/docs/apps/ciphers.html). AcceptedCiphers *string `json:"accepted_ciphers,omitempty"` - // Set of versions accepted by the server. + // Set of versions accepted by the server. Minimum of 1 items required. AcceptedVersions []*SSLVersion `json:"accepted_versions,omitempty"` - // Enum options - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256. TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384. TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384. TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256. TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384. TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256. TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384. TLS_RSA_WITH_AES_128_GCM_SHA256. TLS_RSA_WITH_AES_256_GCM_SHA384. TLS_RSA_WITH_AES_128_CBC_SHA256. TLS_RSA_WITH_AES_256_CBC_SHA256. TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA. TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA. TLS_RSA_WITH_AES_128_CBC_SHA. TLS_RSA_WITH_AES_256_CBC_SHA. TLS_RSA_WITH_3DES_EDE_CBC_SHA. TLS_AES_256_GCM_SHA384... + // Enum options - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_AES_128_GCM_SHA256. Allowed in Basic(Allowed values- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA) edition, Essentials(Allowed values- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA) edition, Enterprise edition. CipherEnums []string `json:"cipher_enums,omitempty"` - // TLS 1.3 Ciphers suites represented as defined by U(https //www.openssl.org/docs/manmaster/man1/ciphers.html). Field introduced in 18.2.6. + // TLS 1.3 Ciphers suites represented as defined by U(https //www.openssl.org/docs/manmaster/man1/ciphers.html). Field introduced in 18.2.6. Allowed in Basic edition, Essentials edition, Enterprise edition. Special default for Basic edition is TLS_AES_256_GCM_SHA384-TLS_AES_128_GCM_SHA256, Essentials edition is TLS_AES_256_GCM_SHA384-TLS_AES_128_GCM_SHA256, Enterprise is TLS_AES_256_GCM_SHA384-TLS_CHACHA20_POLY1305_SHA256-TLS_AES_128_GCM_SHA256. Ciphersuites *string `json:"ciphersuites,omitempty"` // User defined description for the object. @@ -29,13 +29,13 @@ type SSLProfile struct { // DH Parameters used in SSL. At this time, it is not configurable and is set to 2048 bits. Dhparam *string `json:"dhparam,omitempty"` - // Enable early data processing for TLS1.3 connections. Field introduced in 18.2.6. + // Enable early data processing for TLS1.3 connections. Field introduced in 18.2.6. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableEarlyData *bool `json:"enable_early_data,omitempty"` // Enable SSL session re-use. EnableSslSessionReuse *bool `json:"enable_ssl_session_reuse,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the object. diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_version.go b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_version.go index 34f8d6bf4..513ecbf3d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/s_s_l_version.go +++ b/vendor/github.com/avinetworks/sdk/go/models/s_s_l_version.go @@ -7,7 +7,7 @@ package models // swagger:model SSLVersion type SSLVersion struct { - // Enum options - SSL_VERSION_SSLV3, SSL_VERSION_TLS1, SSL_VERSION_TLS1_1, SSL_VERSION_TLS1_2, SSL_VERSION_TLS1_3. + // Enum options - SSL_VERSION_SSLV3, SSL_VERSION_TLS1, SSL_VERSION_TLS1_1, SSL_VERSION_TLS1_2, SSL_VERSION_TLS1_3. Allowed in Basic(Allowed values- SSL_VERSION_SSLV3,SSL_VERSION_TLS1,SSL_VERSION_TLS1_1,SSL_VERSION_TLS1_2) edition, Essentials(Allowed values- SSL_VERSION_SSLV3,SSL_VERSION_TLS1,SSL_VERSION_TLS1_1,SSL_VERSION_TLS1_2) edition, Enterprise edition. // Required: true Type *string `json:"type"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/s_s_o_policy.go b/vendor/github.com/avinetworks/sdk/go/models/s_s_o_policy.go index 6978de669..801ef4cbf 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/s_s_o_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/s_s_o_policy.go @@ -18,7 +18,7 @@ type SSOPolicy struct { // Authorization Policy Settings. Field introduced in 18.2.5. AuthorizationPolicy *AuthorizationPolicy `json:"authorization_policy,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name of the SSO Policy. Field introduced in 18.2.3. @@ -28,7 +28,7 @@ type SSOPolicy struct { // UUID of the Tenant. It is a reference to an object of type Tenant. Field introduced in 18.2.3. TenantRef *string `json:"tenant_ref,omitempty"` - // SSO Policy Type. Enum options - SSO_TYPE_SAML, SSO_TYPE_PINGACCESS. Field introduced in 18.2.5. + // SSO Policy Type. Enum options - SSO_TYPE_SAML, SSO_TYPE_PINGACCESS, SSO_TYPE_JWT. Field introduced in 18.2.5. // Required: true Type *string `json:"type"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/scale_status.go b/vendor/github.com/avinetworks/sdk/go/models/scale_status.go index 62412c907..027d3d357 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/scale_status.go +++ b/vendor/github.com/avinetworks/sdk/go/models/scale_status.go @@ -7,7 +7,7 @@ package models // swagger:model ScaleStatus type ScaleStatus struct { - // Enum options - OTHER, CREATE, READ, UPDATE, DELETE, SCALE_OUT, SCALE_IN, SE_REMOVED, SE_DISCONNECT, SE_RECONNECT, WARM_RESTART, COLD_RESTART, UPDATE_LOGMGR_MAP, MIGRATE_SCALEOUT, MIGRATE_SCALEIN, INITIAL_PLACEMENT, ROTATE_KEYS, GLB_MGR_UPDATE, UPDATE_DNS_RECORDS, SCALEOUT_ADMINUP, SCALEIN_ADMINDOWN, SCALEOUT_READY, SCALEIN_READY, SE_PRERELEASED, SE_ADDED, SE_PRERELEASE, SE_SCALING_IN, SE_DELETING, SE_PRERELEASE_FAILED, SE_SCALEOUT_FAILED, SCALEOUT_ROLLEDBACK, RSRC_UPDATE, SE_UPDATED, GLB_MGR_UPDATE_GS_STATUS, NEW_PRIMARY, SE_FORCE_RELEASE, SWITCHOVER, SE_ASSIGN_NO_CHANGE, GLB_MGR_DNS_GEO_UPDATE, GLB_MGR_DNS_CLEANUP, NEW_STANDBY, CONNECTED, NOT_CONNECTED, NOT_AT_CURR_VERSION, AT_CURR_VERSION, ATTACH_IP_SUCCESS, SEGROUP_CHANGED, VS_ENABLED, VS_DISABLED, UPDATE_DURING_WARMSTART, RSRC_UPDATE_DURING_WARMSTART, WARMSTART_PARENT_NOT_FOUND, WARMSTART_PARENT_SELIST_MISMATCH, WARMSTART_PARENT_SEGROUP_MISMATCH, WARMSTART_RESYNC_SENT, WARMSTART_RESYNC_RESPONSE, RPC_TO_RESMGR_FAILED, SCALEOUT_READY_IGNORED, SCALEOUT_READY_TIMEDOUT, SCALEOUT_READY_DISCONNECTED, FORCE_SCALEIN_POST_WARMSTART, MIGRATE_SCALEIN_SKIPPED, MIGRATE_DISRUPTED, APIC_PLACEMENT, SE_VIP_MAC_UPDATE, MIN_SCALEOUT_UPDATED, VIP_CHANGE_DISRUPTIVE, POOL_CHANGE_DISRUPTIVE, ECMP_CHANGE_DISRUPTIVE, ENABLE_RHI_CHANGE_DISRUPTIVE, VIP_AS_SNAT_CHANGE_DISRUPTIVE, SE_GROUP_CHANGE_DISRUPTIVE, PARENT_VS_CHANGE_DISRUPTIVE, SNAT_POOL_CHANGE_DISRUPTIVE, UNSET_USE_VIP_AS_SNAT. Field introduced in 17.1.1. + // Enum options - OTHER, CREATE, READ, UPDATE, DELETE, SCALE_OUT, SCALE_IN, SE_REMOVED, SE_DISCONNECT, SE_RECONNECT, WARM_RESTART, COLD_RESTART, UPDATE_LOGMGR_MAP, MIGRATE_SCALEOUT, MIGRATE_SCALEIN, INITIAL_PLACEMENT, ROTATE_KEYS, GLB_MGR_UPDATE, UPDATE_DNS_RECORDS, SCALEOUT_ADMINUP, SCALEIN_ADMINDOWN, SCALEOUT_READY, SCALEIN_READY, SE_PRERELEASED, SE_ADDED, SE_PRERELEASE, SE_SCALING_IN, SE_DELETING, SE_PRERELEASE_FAILED, SE_SCALEOUT_FAILED, SCALEOUT_ROLLEDBACK, RSRC_UPDATE, SE_UPDATED, GLB_MGR_UPDATE_GS_STATUS, NEW_PRIMARY, SE_FORCE_RELEASE, SWITCHOVER, SE_ASSIGN_NO_CHANGE, GLB_MGR_DNS_GEO_UPDATE, GLB_MGR_DNS_CLEANUP, NEW_STANDBY, CONNECTED, NOT_CONNECTED, NOT_AT_CURR_VERSION, AT_CURR_VERSION, ATTACH_IP_SUCCESS, SEGROUP_CHANGED, VS_ENABLED, VS_DISABLED, UPDATE_DURING_WARMSTART, RSRC_UPDATE_DURING_WARMSTART, WARMSTART_PARENT_NOT_FOUND, WARMSTART_PARENT_SELIST_MISMATCH, WARMSTART_PARENT_SEGROUP_MISMATCH, WARMSTART_RESYNC_SENT, WARMSTART_RESYNC_RESPONSE, RPC_TO_RESMGR_FAILED, SCALEOUT_READY_IGNORED, SCALEOUT_READY_TIMEDOUT, SCALEOUT_READY_DISCONNECTED, FORCE_SCALEIN_POST_WARMSTART, MIGRATE_SCALEIN_SKIPPED, MIGRATE_DISRUPTED, APIC_PLACEMENT, SE_VIP_MAC_UPDATE, MIN_SCALEOUT_UPDATED, VIP_CHANGE_DISRUPTIVE, POOL_CHANGE_DISRUPTIVE, ECMP_CHANGE_DISRUPTIVE, ENABLE_RHI_CHANGE_DISRUPTIVE, VIP_AS_SNAT_CHANGE_DISRUPTIVE, SE_GROUP_CHANGE_DISRUPTIVE, PARENT_VS_CHANGE_DISRUPTIVE, SNAT_POOL_CHANGE_DISRUPTIVE, UNSET_USE_VIP_AS_SNAT, SE_MGMTIP_CHANGE. Field introduced in 17.1.1. Action *string `json:"action,omitempty"` // Field introduced in 18.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_bootup_properties.go b/vendor/github.com/avinetworks/sdk/go/models/se_bootup_properties.go index 8dc206117..d77dcca17 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/se_bootup_properties.go +++ b/vendor/github.com/avinetworks/sdk/go/models/se_bootup_properties.go @@ -22,7 +22,7 @@ type SeBootupProperties struct { // Enable or disable fair queueing for packet transmission among virtualservices on an SE. FairQueueingEnabled *bool `json:"fair_queueing_enabled,omitempty"` - // Granularity or Resolution of co-ordinates used. When the value is 1 the co-ordinates provided in the geo-db are used as is (highest resolution.This value provides a 'zoom-out' value so that coarser co-ordinates are used. With higher resolution, logs can contain finer location information. But, lower resolution provides significant memory and cpu benefits on the service engine. Besides, given a smaller number of members that are separated geographically, a lower resolution is sufficient for correct load-balancing. Allowed values are 1-20. Field introduced in 17.1.1. + // Granularity or Resolution of co-ordinates used. When the value is 1 the co-ordinates provided in the geo-db are used as is (highest resolution.This value provides a 'zoom-out' value so that coarser co-ordinates are used. With higher resolution, logs can contain finer location information. But, lower resolution provides significant memory and cpu benefits on the service engine. Besides, given a smaller number of members that are separated geographically, a lower resolution is sufficient for correct load-balancing. Allowed values are 1-20. Field introduced in 17.1.1. Allowed in Basic(Allowed values- 1) edition, Essentials(Allowed values- 1) edition, Enterprise edition. GeoDbGranularity *int32 `json:"geo_db_granularity,omitempty"` // Number of L7 connections that can be cached per core. @@ -43,13 +43,13 @@ type SeBootupProperties struct { // This field has been moved to se_group properties 18.1.2 onwards. Field deprecated in 18.1.3. SeDpdkPmd *int32 `json:"se_dpdk_pmd,omitempty"` - // Use this to emulate more/less cpus than is actually available. One datapath process is started for each core. + // Use this to emulate more/less cpus than is actually available. One datapath process is started for each core. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. SeEmulatedCores *int32 `json:"se_emulated_cores,omitempty"` - // Determines if SE-SE IPC messages are encapsulated in an IP header 0 Automatically determine based on hypervisor type 1 Use IP encap unconditionally ~[0,1] Don't use IP encap. + // Determines if SE-SE IPC messages are encapsulated in an IP header Note This field has been moved to se_group properties 20.1.3 onwards. 0 Automatically determine based on hypervisor type 1 Use IP encap unconditionally ~[0,1] Don't use IP encap. SeIPEncapIpc *int32 `json:"se_ip_encap_ipc,omitempty"` - // Determines if SE-SE IPC messages use SE interface IP instead of VIP 0 Automatically determine based on hypervisor type 1 Use SE interface IP unconditionally ~[0,1] Don't use SE interface IP. + // Determines if SE-SE IPC messages use SE interface IP instead of VIP Note This field has been moved to se_group properties 20.1.3 onwards. 0 Automatically determine based on hypervisor type 1 Use SE interface IP unconditionally ~[0,1] Don't use SE interface IP. SeL3EncapIpc *int32 `json:"se_l3_encap_ipc,omitempty"` // Internal flag that blocks dataplane until all application logs are flushed to log-agent process. diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_group_analytics_policy.go b/vendor/github.com/avinetworks/sdk/go/models/se_group_analytics_policy.go new file mode 100644 index 000000000..cd27fd3db --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/se_group_analytics_policy.go @@ -0,0 +1,12 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// SeGroupAnalyticsPolicy se group analytics policy +// swagger:model SeGroupAnalyticsPolicy +type SeGroupAnalyticsPolicy struct { + + // Thresholds for various events generated by metrics system. Field introduced in 20.1.3. + MetricsEventThresholds []*MetricsEventThreshold `json:"metrics_event_thresholds,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_hm_event_server_details.go b/vendor/github.com/avinetworks/sdk/go/models/se_hm_event_server_details.go index a32aeb49d..36ee684ef 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/se_hm_event_server_details.go +++ b/vendor/github.com/avinetworks/sdk/go/models/se_hm_event_server_details.go @@ -10,6 +10,9 @@ type SeHmEventServerDetails struct { // Placeholder for description of property app_info of obj type SeHmEventServerDetails field type str type object AppInfo []*AppInfo `json:"app_info,omitempty"` + // Server description. + Description *string `json:"description,omitempty"` + // Healthmonitor Failure code. Enum options - ARP_UNRESOLVED, CONNECTION_REFUSED, CONNECTION_TIMEOUT, RESPONSE_CODE_MISMATCH, PAYLOAD_CONTENT_MISMATCH, SERVER_UNREACHABLE, CONNECTION_RESET, CONNECTION_ERROR, HOST_ERROR, ADDRESS_ERROR, NO_PORT, PAYLOAD_TIMEOUT, NO_RESPONSE, NO_RESOURCES, SSL_ERROR, SSL_CERT_ERROR, PORT_UNREACHABLE, SCRIPT_ERROR, OTHER_ERROR, SERVER_DISABLED... FailureCode *string `json:"failure_code,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_list.go b/vendor/github.com/avinetworks/sdk/go/models/se_list.go index 76562773d..cf5da2d30 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/se_list.go +++ b/vendor/github.com/avinetworks/sdk/go/models/se_list.go @@ -55,6 +55,12 @@ type SeList struct { // Number of memory. Memory *int32 `json:"memory,omitempty"` + // Management IPv4 address of SE. Field introduced in 20.1.3. + MgmtIP *IPAddr `json:"mgmt_ip,omitempty"` + + // Management IPv6 address of SE. Field introduced in 20.1.3. + MgmtIp6 *IPAddr `json:"mgmt_ip6,omitempty"` + // This field is not needed with the current implementation of Update RPCs to SEs. Field deprecated in 18.1.5, 18.2.1. PendingDownload *bool `json:"pending_download,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_mgr_event_details.go b/vendor/github.com/avinetworks/sdk/go/models/se_mgr_event_details.go index 9ad4bfa40..a2bbb52c5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/se_mgr_event_details.go +++ b/vendor/github.com/avinetworks/sdk/go/models/se_mgr_event_details.go @@ -35,6 +35,18 @@ type SeMgrEventDetails struct { // Required: true Name *string `json:"name"` + // Field introduced in 20.1.3. + NewMgmtIP *string `json:"new_mgmt_ip,omitempty"` + + // Field introduced in 20.1.3. + NewMgmtIp6 *string `json:"new_mgmt_ip6,omitempty"` + + // Field introduced in 20.1.3. + OldMgmtIP *string `json:"old_mgmt_ip,omitempty"` + + // Field introduced in 20.1.3. + OldMgmtIp6 *string `json:"old_mgmt_ip6,omitempty"` + // reason of SeMgrEventDetails. Reason *string `json:"reason,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_runtime_properties.go b/vendor/github.com/avinetworks/sdk/go/models/se_runtime_properties.go index 2ce39ab01..8eafa8d11 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/se_runtime_properties.go +++ b/vendor/github.com/avinetworks/sdk/go/models/se_runtime_properties.go @@ -16,13 +16,13 @@ type SeRuntimeProperties struct { // Control if dispatcher core also handles TCP flows in baremetal SE. BaremetalDispatcherHandlesFlows *bool `json:"baremetal_dispatcher_handles_flows,omitempty"` - // Rate limit on maximum adf lossy log to pushper second. + // Rate limit on maximum adf lossy log to pushper second. Allowed in Basic(Allowed values- 1000) edition, Essentials(Allowed values- 1000) edition, Enterprise edition. ConnectionsLossyLogRateLimiterThreshold *int32 `json:"connections_lossy_log_rate_limiter_threshold,omitempty"` - // Rate limit on maximum adf udf or nf log to pushper second. + // Rate limit on maximum adf udf or nf log to pushper second. Allowed in Basic(Allowed values- 1000) edition, Essentials(Allowed values- 1000) edition, Enterprise edition. ConnectionsUdfnfLogRateLimiterThreshold *int32 `json:"connections_udfnf_log_rate_limiter_threshold,omitempty"` - // Disable Flow Probes for Scaled out VS'es. Field introduced in 17.1.1. + // Disable Flow Probes for Scaled out VS'es. (This field has been moved to se_group properties 20.1.3 onwards.). Field introduced in 17.1.1. DisableFlowProbes *bool `json:"disable_flow_probes,omitempty"` // Deprecated. Field deprecated in 17.2.5. Field introduced in 17.2.1. @@ -37,16 +37,16 @@ type SeRuntimeProperties struct { // Timeout for downstream to become writable. Unit is MILLISECONDS. DownstreamSendTimeout *int32 `json:"downstream_send_timeout,omitempty"` - // Frequency of SE - SE HB messages when aggressive failure mode detection is enabled. Unit is MILLISECONDS. + // Frequency of SE - SE HB messages when aggressive failure mode detection is enabled. (This field has been moved to se_group properties 20.1.3 onwards). Unit is MILLISECONDS. Allowed in Basic(Allowed values- 100) edition, Essentials(Allowed values- 100) edition, Enterprise edition. DpAggressiveHbFrequency *int32 `json:"dp_aggressive_hb_frequency,omitempty"` - // Consecutive HB failures after which failure is reported to controller,when aggressive failure mode detection is enabled. + // Consecutive HB failures after which failure is reported to controller,when aggressive failure mode detection is enabled. (This field has been moved to se_group properties 20.1.3 onwards). Allowed in Basic(Allowed values- 10) edition, Essentials(Allowed values- 10) edition, Enterprise edition. DpAggressiveHbTimeoutCount *int32 `json:"dp_aggressive_hb_timeout_count,omitempty"` - // Frequency of SE - SE HB messages when aggressive failure mode detection is not enabled. Unit is MILLISECONDS. + // Frequency of SE - SE HB messages when aggressive failure mode detection is not enabled. (This field has been moved to se_group properties 20.1.3 onwards). Unit is MILLISECONDS. DpHbFrequency *int32 `json:"dp_hb_frequency,omitempty"` - // Consecutive HB failures after which failure is reported to controller, when aggressive failure mode detection is not enabled. + // Consecutive HB failures after which failure is reported to controller, when aggressive failure mode detection is not enabled. (This field has been moved to se_group properties 20.1.3 onwards). DpHbTimeoutCount *int32 `json:"dp_hb_timeout_count,omitempty"` // Frequency of ARP requests sent by SE for each VIP to detect duplicate IP when it loses conectivity to controller. Unit is MILLISECONDS. @@ -73,10 +73,10 @@ type SeRuntimeProperties struct { // Overrides the MTU value received via DHCP or some other means. Use this when the infrastructure advertises an MTU that is not supported by all devices in the network. For example, in AWS or when an overlay is used. GlobalMtu *int32 `json:"global_mtu,omitempty"` - // Enable Javascript console logs on the client browser when collecting client insights. + // Enable Javascript console logs on the client browser when collecting client insights. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. HTTPRumConsoleLog *bool `json:"http_rum_console_log,omitempty"` - // Minimum response size content length to sample for client insights. + // Minimum response size content length to sample for client insights. Allowed in Basic(Allowed values- 64) edition, Essentials(Allowed values- 64) edition, Enterprise edition. HTTPRumMinContentLength *int32 `json:"http_rum_min_content_length,omitempty"` // How often to push the LB IPC messages in the main loop. The value is the number of times the loop has to run before pushing the batch. i.e, a value of 1 means the batch is pushed every time the loop runs. Field deprecated in 18.1.3. Field introduced in 17.2.8. @@ -211,7 +211,7 @@ type SeRuntimeProperties struct { // Placeholder for description of property se_dp_compression of obj type SeRuntimeProperties field type str type object SeDpCompression *SeRuntimeCompressionProperties `json:"se_dp_compression,omitempty"` - // Internal only. Used to simulate SE - SE HB failure. + // Deprecated - This field has been moved to se_group properties 20.1.3 onwards. Internal only. Used to simulate SE - SE HB failure. SeDpHmDrops *int32 `json:"se_dp_hm_drops,omitempty"` // Number of jiffies between polling interface state. @@ -256,10 +256,10 @@ type SeRuntimeProperties struct { // Internal use only. Enables poisoning of freed memory blocks. SeMemoryPoison *bool `json:"se_memory_poison,omitempty"` - // Internal use only. Frequency (ms) of metrics updates from SE to controller. Unit is MILLISECONDS. + // Internal use only. Frequency (ms) of metrics updates from SE to controller. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 60000) edition, Essentials(Allowed values- 60000) edition, Enterprise edition. SeMetricsInterval *int32 `json:"se_metrics_interval,omitempty"` - // Internal use only. Enable or disable real time metrics irrespective of virtualservice or SE group configuration. + // Internal use only. Enable or disable real time metrics irrespective of virtualservice or SE group configuration. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is True. SeMetricsRtEnabled *bool `json:"se_metrics_rt_enabled,omitempty"` // Internal use only. Frequency (ms) of realtime metrics updates from SE to controller. Unit is MILLISECONDS. @@ -274,7 +274,7 @@ type SeRuntimeProperties struct { // SE rate limiters. SeRateLimiters *SeRateLimiters `json:"se_rate_limiters,omitempty"` - // IP ranges on which there may be virtual services (for configuring iptables/routes). + // IP ranges on which there may be virtual services (for configuring iptables/routes). Maximum of 128 items allowed. ServiceIPSubnets []*IPAddrPrefix `json:"service_ip_subnets,omitempty"` // Port ranges on which there may be virtual services (for configuring iptables). Applicable in container ecosystems like Mesos. @@ -328,7 +328,7 @@ type SeRuntimeProperties struct { // Timeout for data to be received from backend. Unit is MILLISECONDS. UpstreamReadTimeout *int32 `json:"upstream_read_timeout,omitempty"` - // Timeout for upstream to become writable. Unit is MILLISECONDS. + // Timeout for upstream to become writable. Unit is MILLISECONDS. Allowed in Basic(Allowed values- 3600000) edition, Essentials(Allowed values- 3600000) edition, Enterprise edition. UpstreamSendTimeout *int32 `json:"upstream_send_timeout,omitempty"` // Defines in seconds how long before an unused user-defined-metric is garbage collected. Field introduced in 17.1.5. Unit is SEC. diff --git a/vendor/github.com/avinetworks/sdk/go/models/se_vs_pkt_buf_high_event_details.go b/vendor/github.com/avinetworks/sdk/go/models/se_vs_pkt_buf_high_event_details.go new file mode 100644 index 000000000..a442ad3b2 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/se_vs_pkt_buf_high_event_details.go @@ -0,0 +1,18 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// SeVsPktBufHighEventDetails se vs pkt buf high event details +// swagger:model SeVsPktBufHighEventDetails +type SeVsPktBufHighEventDetails struct { + + // Current packet buffer usage of the VS. + CurrentValue *int32 `json:"current_value,omitempty"` + + // Buffer usage threshold value. + Threshold *int32 `json:"threshold,omitempty"` + + // Virtual Service name. It is a reference to an object of type VirtualService. + VirtualService *string `json:"virtual_service,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/secure_channel_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/secure_channel_configuration.go index a1f4b9c7f..f1058d028 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/secure_channel_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/secure_channel_configuration.go @@ -10,6 +10,6 @@ type SecureChannelConfiguration struct { // Boolean which allowed force update of secure channel certificate. Forced updating has been disallowed. Field deprecated in 18.2.8. Field introduced in 18.2.5. BypassSecureChannelMustChecks *bool `json:"bypass_secure_channel_must_checks,omitempty"` - // Certificate for secure channel. Leave list empty to use system default certs. It is a reference to an object of type SSLKeyAndCertificate. Field introduced in 18.1.4, 18.2.1. + // Certificate for secure channel. Leave list empty to use system default certs. It is a reference to an object of type SSLKeyAndCertificate. Field introduced in 18.1.4, 18.2.1. Maximum of 1 items allowed. SslkeyandcertificateRefs []string `json:"sslkeyandcertificate_refs,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/secure_channel_mapping.go b/vendor/github.com/avinetworks/sdk/go/models/secure_channel_mapping.go index d4c39ee1d..391a6930a 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/secure_channel_mapping.go +++ b/vendor/github.com/avinetworks/sdk/go/models/secure_channel_mapping.go @@ -23,6 +23,9 @@ type SecureChannelMapping struct { // Placeholder for description of property marked_for_delete of obj type SecureChannelMapping field type str type boolean MarkedForDelete *bool `json:"marked_for_delete,omitempty"` + // Metadata associated with the SecureChannelToken of the service engine. Field introduced in 20.1.3. + Metadata []*SecureChannelMetadata `json:"metadata,omitempty"` + // Name of the object. // Required: true Name *string `json:"name"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/secure_key_exchange_details.go b/vendor/github.com/avinetworks/sdk/go/models/secure_key_exchange_details.go new file mode 100644 index 000000000..b557eae45 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/secure_key_exchange_details.go @@ -0,0 +1,39 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// SecureKeyExchangeDetails secure key exchange details +// swagger:model SecureKeyExchangeDetails +type SecureKeyExchangeDetails struct { + + // Controller managememt IP for secure key exchange between controller and SE. Field introduced in 20.1.3. + CtlrMgmtIP *string `json:"ctlr_mgmt_ip,omitempty"` + + // Controller public IP for secure key exchange between controller and SE. Field introduced in 20.1.3. + CtlrPublicIP *string `json:"ctlr_public_ip,omitempty"` + + // Error message if secure key exchange failed. Field introduced in 20.1.3. + Error *string `json:"error,omitempty"` + + // Follower IP for secure key exchange between controller and controller. Field introduced in 20.1.3. + FollowerIP *string `json:"follower_ip,omitempty"` + + // Leader IP for secure key exchange between controller and controller. Field introduced in 20.1.3. + LeaderIP *string `json:"leader_ip,omitempty"` + + // name of SE/controller who initiates the secure key exchange. Field introduced in 20.1.3. + Name *string `json:"name,omitempty"` + + // SE IP for secure key exchange between controller and SE. Field introduced in 20.1.3. + SeIP *string `json:"se_ip,omitempty"` + + // IP address of the client. Field introduced in 20.1.3. + SourceIP *string `json:"source_ip,omitempty"` + + // Status. 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 20.1.3. + Status *string `json:"status,omitempty"` + + // uuid of SE/controller who initiates the secure key exchange. Field introduced in 20.1.3. + UUID *string `json:"uuid,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/security_policy.go b/vendor/github.com/avinetworks/sdk/go/models/security_policy.go index 622db34e9..9fc210181 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/security_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/security_policy.go @@ -21,7 +21,7 @@ type SecurityPolicy struct { // Required: true DNSPolicyIndex *int32 `json:"dns_policy_index"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // The name of the security policy. Field introduced in 18.2.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/selector.go b/vendor/github.com/avinetworks/sdk/go/models/selector.go new file mode 100644 index 000000000..68e3725da --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/selector.go @@ -0,0 +1,16 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// Selector selector +// swagger:model Selector +type Selector struct { + + // Labels as key value pairs to select on. Field introduced in 20.1.3. Minimum of 1 items required. + Labels []*KeyValueTuple `json:"labels,omitempty"` + + // Selector type. Enum options - SELECTOR_IPAM. Field introduced in 20.1.3. + // Required: true + Type *string `json:"type"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/sensitive_field_rule.go b/vendor/github.com/avinetworks/sdk/go/models/sensitive_field_rule.go index 621637999..3b6e3834d 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/sensitive_field_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/sensitive_field_rule.go @@ -16,7 +16,7 @@ type SensitiveFieldRule struct { // Index of the rule. Field introduced in 17.2.10, 18.1.2. Index *int32 `json:"index,omitempty"` - // Criterion to use for matching in the Log. Field introduced in 17.2.10, 18.1.2. + // Criterion to use for matching in the Log. Field introduced in 17.2.10, 18.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. Match *StringMatch `json:"match,omitempty"` // Name of the rule. Field introduced in 17.2.10, 18.1.2. diff --git a/vendor/github.com/avinetworks/sdk/go/models/server.go b/vendor/github.com/avinetworks/sdk/go/models/server.go index de4f13e9d..9d14787c8 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server.go @@ -7,7 +7,7 @@ package models // swagger:model Server type Server struct { - // Name of autoscaling group this server belongs to. Field introduced in 17.1.2. + // Name of autoscaling group this server belongs to. Field introduced in 17.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. AutoscalingGroupName *string `json:"autoscaling_group_name,omitempty"` // Availability-zone of the server VM. @@ -41,7 +41,7 @@ type Server struct { // Required: true IP *IPAddr `json:"ip"` - // (internal-use) Geographic location of the server.Currently only for internal usage. Field introduced in 17.1.1. + // (internal-use) Geographic location of the server.Currently only for internal usage. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. Location *GeoLocation `json:"location,omitempty"` // MAC address of server. @@ -59,7 +59,7 @@ type Server struct { // Ratio of selecting eligible servers in the pool. Allowed values are 1-20. Ratio *int32 `json:"ratio,omitempty"` - // Auto resolve server's IP using DNS name. + // Auto resolve server's IP using DNS name. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ResolveServerByDNS *bool `json:"resolve_server_by_dns,omitempty"` // Rewrite incoming Host Header to server name. diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_failed_info.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_failed_info.go index 63f75c666..d0b6463c5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_failed_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_failed_info.go @@ -22,7 +22,7 @@ type ServerAutoScaleFailedInfo struct { // reason of ServerAutoScaleFailedInfo. Reason *string `json:"reason,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... // Required: true ReasonCode *string `json:"reason_code"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_complete_info.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_complete_info.go index da2abba67..577e538ef 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_complete_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_complete_info.go @@ -18,7 +18,7 @@ type ServerAutoScaleInCompleteInfo struct { // reason of ServerAutoScaleInCompleteInfo. Reason *string `json:"reason,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... // Required: true ReasonCode *string `json:"reason_code"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_info.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_info.go index 171f5d92c..5af7ea4fe 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_in_info.go @@ -34,7 +34,7 @@ type ServerAutoScaleInInfo struct { // reason of ServerAutoScaleInInfo. Reason *string `json:"reason,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... ReasonCode *string `json:"reason_code,omitempty"` // Placeholder for description of property scalein_server_candidates of obj type ServerAutoScaleInInfo field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_complete_info.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_complete_info.go index 3b6b3f505..a08fe0c28 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_complete_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_complete_info.go @@ -21,7 +21,7 @@ type ServerAutoScaleOutCompleteInfo struct { // reason of ServerAutoScaleOutCompleteInfo. Reason *string `json:"reason,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... // Required: true ReasonCode *string `json:"reason_code"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_info.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_info.go index 97a33982b..1e1ec6591 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_info.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_out_info.go @@ -34,6 +34,6 @@ type ServerAutoScaleOutInfo struct { // reason of ServerAutoScaleOutInfo. Reason *string `json:"reason,omitempty"` - // 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_BAD_REQUEST. SYSERR_TEST1... + // 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... ReasonCode *string `json:"reason_code,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_policy.go b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_policy.go index b0b0ec0c2..2e2aa3f08 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/server_auto_scale_policy.go @@ -11,6 +11,9 @@ type ServerAutoScalePolicy struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` + // Delay in minutes after which a down server will be removed from Pool. Value 0 disables this functionality. Field introduced in 20.1.3. + DelayForServerGarbageCollection *int32 `json:"delay_for_server_garbage_collection,omitempty"` + // User defined description for the object. Description *string `json:"description,omitempty"` @@ -23,7 +26,7 @@ type ServerAutoScalePolicy struct { // Minimum extra capacity as percentage of load used by the intelligent scheme. Scaleout is triggered when available capacity is less than this margin. Allowed values are 1-99. IntelligentScaleoutMargin *int32 `json:"intelligent_scaleout_margin,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.3. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Maximum number of servers to scalein simultaneously. The actual number of servers to scalein is chosen such that target number of servers is always more than or equal to the min_size. diff --git a/vendor/github.com/avinetworks/sdk/go/models/service.go b/vendor/github.com/avinetworks/sdk/go/models/service.go index d74080531..d1010aabf 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/service.go @@ -7,13 +7,13 @@ package models // swagger:model Service type Service struct { - // Enable HTTP2 on this port. Field introduced in 20.1.1. + // Enable HTTP2 on this port. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableHttp2 *bool `json:"enable_http2,omitempty"` // Enable SSL termination and offload for traffic from clients. EnableSsl *bool `json:"enable_ssl,omitempty"` - // Enable application layer specific features for the this specific service. It is a reference to an object of type ApplicationProfile. Field introduced in 17.2.4. + // Enable application layer specific features for the this specific service. It is a reference to an object of type ApplicationProfile. Field introduced in 17.2.4. Allowed in Basic edition, Essentials edition, Enterprise edition. OverrideApplicationProfileRef *string `json:"override_application_profile_ref,omitempty"` // Override the network profile for this specific service port. It is a reference to an object of type NetworkProfile. diff --git a/vendor/github.com/avinetworks/sdk/go/models/service_engine_group.go b/vendor/github.com/avinetworks/sdk/go/models/service_engine_group.go index 2522e4d3a..778377e78 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/service_engine_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/service_engine_group.go @@ -23,7 +23,7 @@ type ServiceEngineGroup struct { // Advertise reach-ability of backend server networks via ADC through BGP for default gateway feature. Field deprecated in 18.2.5. AdvertiseBackendNetworks *bool `json:"advertise_backend_networks,omitempty"` - // Enable aggressive failover configuration for ha. + // Enable aggressive failover configuration for ha. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AggressiveFailureDetection *bool `json:"aggressive_failure_detection,omitempty"` // In compact placement, Virtual Services are placed on existing SEs until max_vs_per_se limit is reached. Enum options - PLACEMENT_ALGO_PACKED, PLACEMENT_ALGO_DISTRIBUTED. @@ -32,7 +32,7 @@ type ServiceEngineGroup struct { // Allow SEs to be created using burst license. Field introduced in 17.2.5. AllowBurst *bool `json:"allow_burst,omitempty"` - // A percent value of total SE memory reserved for applicationcaching. This is an SE bootup property and requires SE restart.Requires SE Reboot. Allowed values are 0 - 100. Special values are 0- 'disable'. Field introduced in 18.2.3. Unit is PERCENT. + // A percent value of total SE memory reserved for applicationcaching. This is an SE bootup property and requires SE restart.Requires SE Reboot. Allowed values are 0 - 100. Special values are 0- 'disable'. Field introduced in 18.2.3. Unit is PERCENT. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. Special default for Basic edition is 0, Essentials edition is 0, Enterprise is 10. AppCachePercent *int32 `json:"app_cache_percent,omitempty"` // The max memory that can be allocated for the app cache. This value will act as an upper bound on the cache size specified in app_cache_percent. Special values are 0- 'disable'. Field introduced in 20.1.1. Unit is GB. @@ -44,13 +44,13 @@ type ServiceEngineGroup struct { // Amount of SE memory in GB until which shared memory is collected in core archive. Field introduced in 17.1.3. Unit is GB. ArchiveShmLimit *int32 `json:"archive_shm_limit,omitempty"` - // SSL handshakes will be handled by dedicated SSL Threads.Requires SE Reboot. + // SSL handshakes will be handled by dedicated SSL Threads.Requires SE Reboot. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AsyncSsl *bool `json:"async_ssl,omitempty"` // Number of Async SSL threads per se_dp.Requires SE Reboot. Allowed values are 1-16. AsyncSslThreads *int32 `json:"async_ssl_threads,omitempty"` - // If set, Virtual Services will be automatically migrated when load on an SE is less than minimum or more than maximum thresholds. Only Alerts are generated when the auto_rebalance is not set. + // If set, Virtual Services will be automatically migrated when load on an SE is less than minimum or more than maximum thresholds. Only Alerts are generated when the auto_rebalance is not set. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AutoRebalance *bool `json:"auto_rebalance,omitempty"` // Capacities of SE for auto rebalance for each criteria. Field introduced in 17.2.4. @@ -62,7 +62,7 @@ type ServiceEngineGroup struct { // Frequency of rebalance, if 'Auto rebalance' is enabled. Unit is SEC. AutoRebalanceInterval *int32 `json:"auto_rebalance_interval,omitempty"` - // Redistribution of virtual services from the takeover SE to the replacement SE can cause momentary traffic loss. If the auto-redistribute load option is left in its default off state, any desired rebalancing requires calls to REST API. + // Redistribution of virtual services from the takeover SE to the replacement SE can cause momentary traffic loss. If the auto-redistribute load option is left in its default off state, any desired rebalancing requires calls to REST API. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AutoRedistributeActiveStandbyLoad *bool `json:"auto_redistribute_active_standby_load,omitempty"` // Availability zones for Virtual Service High Availability. It is a reference to an object of type AvailabilityZone. Field introduced in 20.1.1. @@ -125,6 +125,9 @@ type ServiceEngineGroup struct { // Stop using TCP/UDP and IP checksum offload features of NICs. Field introduced in 17.1.14, 17.2.5, 18.1.1. DisableCsumOffloads *bool `json:"disable_csum_offloads,omitempty"` + // Disable Flow Probes for Scaled out VS'es. Field introduced in 20.1.3. + DisableFlowProbes *bool `json:"disable_flow_probes,omitempty"` + // Disable Generic Receive Offload (GRO) in DPDK poll-mode driver packet receive path. GRO is on by default on NICs that do not support LRO (Large Receive Offload) or do not gain performance boost from LRO. Field introduced in 17.2.5, 18.1.1. DisableGro *bool `json:"disable_gro,omitempty"` @@ -137,15 +140,27 @@ type ServiceEngineGroup struct { // Amount of disk space for each of the Service Engine virtual machines. Unit is GB. DiskPerSe *int32 `json:"disk_per_se,omitempty"` - // Use both the active and standby Service Engines for Virtual Service placement in the legacy active standby HA mode. + // Use both the active and standby Service Engines for Virtual Service placement in the legacy active standby HA mode. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. DistributeLoadActiveStandby *bool `json:"distribute_load_active_standby,omitempty"` - // Distributes queue ownership among cores so multiple cores handle dispatcher duties. Requires SE Reboot. Deprecated from 18.2.8, instead use max_queues_per_vnic. Field introduced in 17.2.8. + // Distributes queue ownership among cores so multiple cores handle dispatcher duties. Requires SE Reboot. Deprecated from 18.2.8, instead use max_queues_per_vnic. Field introduced in 17.2.8. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. DistributeQueues *bool `json:"distribute_queues,omitempty"` // Distributes vnic ownership among cores so multiple cores handle dispatcher duties.Requires SE Reboot. Field introduced in 18.2.5. DistributeVnics *bool `json:"distribute_vnics,omitempty"` + // Frequency of SE - SE HB messages when aggressive failure mode detection is enabled. Field introduced in 20.1.3. Unit is MILLISECONDS. + DpAggressiveHbFrequency *int32 `json:"dp_aggressive_hb_frequency,omitempty"` + + // Consecutive HB failures after which failure is reported to controller,when aggressive failure mode detection is enabled. Field introduced in 20.1.3. + DpAggressiveHbTimeoutCount *int32 `json:"dp_aggressive_hb_timeout_count,omitempty"` + + // Frequency of SE - SE HB messages when aggressive failure mode detection is not enabled. Field introduced in 20.1.3. Unit is MILLISECONDS. + DpHbFrequency *int32 `json:"dp_hb_frequency,omitempty"` + + // Consecutive HB failures after which failure is reported to controller, when aggressive failure mode detection is not enabled. Field introduced in 20.1.3. + DpHbTimeoutCount *int32 `json:"dp_hb_timeout_count,omitempty"` + // Enable GratArp for VIP_IP. Field introduced in 18.2.3. EnableGratarpPermanent *bool `json:"enable_gratarp_permanent,omitempty"` @@ -158,7 +173,7 @@ type ServiceEngineGroup struct { // Enable TX ring support in pcap mode of operation. TSO feature is not supported with TX Ring enabled. Deprecated from 18.2.8, instead use pcap_tx_mode. Requires SE Reboot. Field introduced in 18.2.5. EnablePcapTxRing *bool `json:"enable_pcap_tx_ring,omitempty"` - // Enable routing for this ServiceEngineGroup . Field deprecated in 18.2.5. + // Enable routing for this ServiceEngineGroup . Field deprecated in 18.2.5. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableRouting *bool `json:"enable_routing,omitempty"` // Enable VIP on all interfaces of SE. Field deprecated in 18.2.5. Field introduced in 17.1.1. @@ -179,10 +194,10 @@ type ServiceEngineGroup struct { // Extra config memory to support large Geo DB configuration. Field introduced in 17.1.1. Unit is MB. ExtraSharedConfigMemory *int32 `json:"extra_shared_config_memory,omitempty"` - // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 1 Tag will advertise this floating IP when manual load distribution is enabled. Field deprecated in 18.2.5. + // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 1 Tag will advertise this floating IP when manual load distribution is enabled. Field deprecated in 18.2.5. Maximum of 32 items allowed. FloatingIntfIP []*IPAddr `json:"floating_intf_ip,omitempty"` - // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 2 Tag will advertise this floating IP when manual load distribution is enabled. Field deprecated in 18.2.5. + // If ServiceEngineGroup is configured for Legacy 1+1 Active Standby HA Mode, Floating IP's will be advertised only by the Active SE in the Pair. Virtual Services in this group must be disabled/enabled for any changes to the Floating IP's to take effect. Only active SE hosting VS tagged with Active Standby SE 2 Tag will advertise this floating IP when manual load distribution is enabled. Field deprecated in 18.2.5. Maximum of 32 items allowed. FloatingIntfIPSe2 []*IPAddr `json:"floating_intf_ip_se_2,omitempty"` // Maximum number of flow table entries that have not completed TCP three-way handshake yet. Field introduced in 17.2.5. @@ -191,19 +206,25 @@ type ServiceEngineGroup struct { // Number of entries in the free list. Field introduced in 17.2.10, 18.1.2. FreeListSize *int32 `json:"free_list_size,omitempty"` + // Google Cloud Platform, Service Engine Group Configuration. Field introduced in 20.1.3. + GcpConfig *GCPSeGroupConfig `json:"gcp_config,omitempty"` + // GratArp periodicity for VIP-IP. Allowed values are 5-30. Field introduced in 18.2.3. Unit is MIN. GratarpPermanentPeriodicity *int32 `json:"gratarp_permanent_periodicity,omitempty"` - // High Availability mode for all the Virtual Services using this Service Engine group. Enum options - HA_MODE_SHARED_PAIR, HA_MODE_SHARED, HA_MODE_LEGACY_ACTIVE_STANDBY. + // High Availability mode for all the Virtual Services using this Service Engine group. Enum options - HA_MODE_SHARED_PAIR, HA_MODE_SHARED, HA_MODE_LEGACY_ACTIVE_STANDBY. Allowed in Basic(Allowed values- HA_MODE_LEGACY_ACTIVE_STANDBY) edition, Essentials(Allowed values- HA_MODE_LEGACY_ACTIVE_STANDBY) edition, Enterprise edition. Special default for Basic edition is HA_MODE_LEGACY_ACTIVE_STANDBY, Essentials edition is HA_MODE_LEGACY_ACTIVE_STANDBY, Enterprise is HA_MODE_SHARED. HaMode *string `json:"ha_mode,omitempty"` + // Configuration to handle per packet attack handling.For example, DNS Reflection Attack is a type of attack where a response packet is sent to the DNS VS.This configuration tells if such packets should be dropped without further processing. Field introduced in 20.1.3. + HandlePerPktAttack *bool `json:"handle_per_pkt_attack,omitempty"` + // It is a reference to an object of type HardwareSecurityModuleGroup. HardwaresecuritymodulegroupRef *string `json:"hardwaresecuritymodulegroup_ref,omitempty"` // Minimum required heap memory to apply any configuration. Allowed values are 0-100. Field introduced in 18.1.2. Unit is MB. HeapMinimumConfigMemory *int32 `json:"heap_minimum_config_memory,omitempty"` - // Enable active health monitoring from the standby SE for all placed virtual services. + // Enable active health monitoring from the standby SE for all placed virtual services. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is True. HmOnStandby *bool `json:"hm_on_standby,omitempty"` // Key of a (Key, Value) pair identifying a label for a set of Nodes usually in Container Clouds. Needs to be specified together with host_attribute_value. SEs can be configured differently including HA modes across different SE Groups. May also be used for isolation between different classes of VirtualServices. VirtualServices' SE Group may be specified via annotations/labels. A OpenShift/Kubernetes namespace maybe annotated with a matching SE Group label as openshift.io/node-selector apptype=prod. When multiple SE Groups are used in a Cloud with host attributes specified,just a single SE Group can exist as a match-all SE Group without a host_attribute_key. @@ -233,16 +254,16 @@ type ServiceEngineGroup struct { // Additional information associated with instance_flavor. Field introduced in 20.1.1. InstanceFlavorInfo *CloudFlavor `json:"instance_flavor_info,omitempty"` - // Iptable Rules. + // Iptable Rules. Maximum of 128 items allowed. Iptables []*IptableRuleSet `json:"iptables,omitempty"` - // Labels associated with this SE group. Field introduced in 20.1.1. + // Labels associated with this SE group. Field introduced in 20.1.1. Maximum of 1 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Select core with least load for new flow. LeastLoadCoreSelection *bool `json:"least_load_core_selection,omitempty"` - // Specifies the license tier which would be used. This field by default inherits the value from cloud. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. + // Specifies the license tier which would be used. This field by default inherits the value from cloud. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC, ESSENTIALS. Field introduced in 17.2.5. LicenseTier *string `json:"license_tier,omitempty"` // If no license type is specified then default license enforcement for the cloud type is chosen. Enum options - LIC_BACKEND_SERVERS, LIC_SOCKETS, LIC_CORES, LIC_HOSTS, LIC_SE_BANDWIDTH, LIC_METERED_SE_BANDWIDTH. Field introduced in 17.2.5. @@ -251,6 +272,9 @@ type ServiceEngineGroup struct { // Maximum disk capacity (in MB) to be allocated to an SE. This is exclusively used for debug and log data. Unit is MB. LogDisksz *int32 `json:"log_disksz,omitempty"` + // SE will log memory allocation related failure to the se_trace file, wherever available. Field introduced in 20.1.2. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. + LogMallocFailure *bool `json:"log_malloc_failure,omitempty"` + // Maximum number of external health monitors that can run concurrently in a service engine. This helps control the CPU and memory use by external health monitors. Special values are 0- 'Value will be internally calculated based on cpu and memory'. Field introduced in 18.2.7. MaxConcurrentExternalHm *int32 `json:"max_concurrent_external_hm,omitempty"` @@ -260,7 +284,7 @@ type ServiceEngineGroup struct { // Max bytes that can be allocated in a single mempool. Field introduced in 18.1.5. Unit is MB. MaxMemoryPerMempool *int32 `json:"max_memory_per_mempool,omitempty"` - // Configures the maximum number of se_dp processes created on the SE, requires SE reboot. If not configured, defaults to the number of CPUs on the SE. This should only be used if user wants to limit the number of se_dps to less than the available CPUs on the SE. Allowed values are 1-128. Field introduced in 20.1.1. + // Configures the maximum number of se_dp processes created on the SE, requires SE reboot. If not configured, defaults to the number of CPUs on the SE. This should only be used if user wants to limit the number of se_dps to less than the available CPUs on the SE. Allowed values are 1-128. Field introduced in 20.1.1. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. MaxNumSeDps *int32 `json:"max_num_se_dps,omitempty"` // Applicable to Azure platform only. Maximum number of public IPs per Azure LB. . Field introduced in 17.2.12, 18.1.2. @@ -336,7 +360,13 @@ type ServiceEngineGroup struct { // Idle timeout in seconds for nat udp flows in response state. Allowed values are 1-3600. Field deprecated in 18.2.5. Field introduced in 18.2.5. Unit is SECONDS. NatFlowUDPResponseTimeout *int32 `json:"nat_flow_udp_response_timeout,omitempty"` - // This setting limits the number of non-significant logs generated per second per core on this SE. Default is 100 logs per second. Set it to zero (0) to disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // Number of threads to poll for netlink messages excluding the thread for default namespace. Requires SE Reboot. Allowed values are 1-32. Field introduced in 20.1.3. + NetlinkPollerThreads *int32 `json:"netlink_poller_threads,omitempty"` + + // Socket buffer size for the netlink sockets. Requires SE Reboot. Allowed values are 1-128. Field introduced in 20.1.3. Unit is MEGA_BYTES. + NetlinkSockBufSize *int32 `json:"netlink_sock_buf_size,omitempty"` + + // This setting limits the number of non-significant logs generated per second per core on this SE. Default is 100 logs per second. Set it to zero (0) to deactivate throttling. Field introduced in 17.1.3. Unit is PER_SECOND. NonSignificantLogThrottle *int32 `json:"non_significant_log_throttle,omitempty"` // Number of dispatcher cores (0,1,2,4,8 or 16). If set to 0, then number of dispatcher cores is deduced automatically.Requires SE Reboot. Allowed values are 0,1,2,4,8,16. Field introduced in 17.2.12, 18.1.3, 18.2.1. @@ -345,10 +375,16 @@ type ServiceEngineGroup struct { // Number of changes in num flow cores sum to ignore. NumFlowCoresSumChangesToIgnore *int32 `json:"num_flow_cores_sum_changes_to_ignore,omitempty"` + // Configuration knobs for InterSE Object Distribution. Field introduced in 20.1.3. + ObjsyncConfig *ObjSyncConfig `json:"objsync_config,omitempty"` + + // TCP port on SE management interface for InterSE Object Distribution. Supported only for externally managed security groups. Not supported on full access deployments. Requires SE reboot. Field introduced in 20.1.3. + ObjsyncPort *int32 `json:"objsync_port,omitempty"` + // Field deprecated in 17.1.1. OpenstackAvailabilityZone *string `json:"openstack_availability_zone,omitempty"` - // Field introduced in 17.1.1. + // Field introduced in 17.1.1. Maximum of 5 items allowed. OpenstackAvailabilityZones []string `json:"openstack_availability_zones,omitempty"` // Avi Management network name. @@ -363,13 +399,19 @@ type ServiceEngineGroup struct { // Determines the PCAP transmit mode of operation. Requires SE Reboot. Enum options - PCAP_TX_AUTO, PCAP_TX_SOCKET, PCAP_TX_RING. Field introduced in 18.2.8, 20.1.1. PcapTxMode *string `json:"pcap_tx_mode,omitempty"` - // Per-app SE mode is designed for deploying dedicated load balancers per app (VS). In this mode, each SE is limited to a max of 2 VSs. vCPUs in per-app SEs count towards licensing usage at 25% rate. + // In PCAP mode, reserve a configured portion of TX ring resources for itself and the remaining portion for the RX ring to achieve better balance in terms of queue depth. Requires SE Reboot. Allowed values are 10-100. Field introduced in 20.1.3. Unit is PERCENT. + PcapTxRingRdBalancingFactor *int32 `json:"pcap_tx_ring_rd_balancing_factor,omitempty"` + + // Per-app SE mode is designed for deploying dedicated load balancers per app (VS). In this mode, each SE is limited to a max of 2 VSs. vCPUs in per-app SEs count towards licensing usage at 25% rate. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. PerApp *bool `json:"per_app,omitempty"` + // Enable/Disable per VS level admission control.Enabling this feature will cause the connection and packet throttling on a particular VS that has high packet buffer consumption. Field introduced in 20.1.3. + PerVsAdmissionControl *bool `json:"per_vs_admission_control,omitempty"` + // If placement mode is 'Auto', Virtual Services are automatically placed on Service Engines. Enum options - PLACEMENT_MODE_AUTO. PlacementMode *string `json:"placement_mode,omitempty"` - // Enable or disable real time SE metrics. + // Enable or deactivate real time SE metrics. RealtimeSeMetrics *MetricsRealTimeUpdate `json:"realtime_se_metrics,omitempty"` // Reboot the VM or host on kernel panic. Field introduced in 18.2.5. @@ -381,16 +423,22 @@ type ServiceEngineGroup struct { // Time interval to re-sync SE's time with wall clock time. Allowed values are 8-600000. Field introduced in 20.1.1. Unit is MILLISECONDS. ResyncTimeInterval *int32 `json:"resync_time_interval,omitempty"` - // Select the SE bandwidth for the bandwidth license. Enum options - SE_BANDWIDTH_UNLIMITED, SE_BANDWIDTH_25M, SE_BANDWIDTH_200M, SE_BANDWIDTH_1000M, SE_BANDWIDTH_10000M. Field introduced in 17.2.5. + // Select the SE bandwidth for the bandwidth license. Enum options - SE_BANDWIDTH_UNLIMITED, SE_BANDWIDTH_25M, SE_BANDWIDTH_200M, SE_BANDWIDTH_1000M, SE_BANDWIDTH_10000M. Field introduced in 17.2.5. Allowed in Basic(Allowed values- SE_BANDWIDTH_UNLIMITED) edition, Essentials(Allowed values- SE_BANDWIDTH_UNLIMITED) edition, Enterprise edition. SeBandwidthType *string `json:"se_bandwidth_type,omitempty"` + // Delay the cleanup of flowtable entry. To be used under surveillance of Avi Support. Field introduced in 20.1.2. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. + SeDelayedFlowDelete *bool `json:"se_delayed_flow_delete,omitempty"` + // Duration to preserve unused Service Engine virtual machines before deleting them. If traffic to a Virtual Service were to spike up abruptly, this SE would still be available to be utilized again rather than creating a new SE. If this value is set to 0, Controller will never delete any SEs and administrator has to manually cleanup unused SEs. Allowed values are 0-525600. Unit is MIN. SeDeprovisionDelay *int32 `json:"se_deprovision_delay,omitempty"` // Placeholder for description of property se_dos_profile of obj type ServiceEngineGroup field type str type object SeDosProfile *DosThresholdProfile `json:"se_dos_profile,omitempty"` - // The highest supported SE-SE Heartbeat protocol version. This version is reported by Secondary SE to Primary SE in Heartbeat response messages. Allowed values are 1-2. Field introduced in 20.1.1. + // Internal only. Used to simulate SE - SE HB failure. Field introduced in 20.1.3. + SeDpHmDrops *int32 `json:"se_dp_hm_drops,omitempty"` + + // The highest supported SE-SE Heartbeat protocol version. This version is reported by Secondary SE to Primary SE in Heartbeat response messages. Allowed values are 1-3. Field introduced in 20.1.1. SeDpMaxHbVersion *int32 `json:"se_dp_max_hb_version,omitempty"` // Time (in seconds) service engine waits for after generating a Vnic transmit queue stall event before resetting theNIC. Field introduced in 18.2.5. @@ -420,18 +468,30 @@ type ServiceEngineGroup struct { // Timeout in milliseconds for flow probe entries. Allowed values are 10-200. Field deprecated in 18.2.5. Field introduced in 18.1.4, 18.2.1. Unit is MILLISECONDS. SeFlowProbeTimer *int32 `json:"se_flow_probe_timer,omitempty"` + // Analytics Policy for ServiceEngineGroup. Field introduced in 20.1.3. + SeGroupAnalyticsPolicy *SeGroupAnalyticsPolicy `json:"se_group_analytics_policy,omitempty"` + // Controls the distribution of SE data path processes on CPUs which support hyper-threading. Requires hyper-threading to be enabled at host level. Requires SE Reboot. For more details please refer to SE placement KB. Enum options - SE_CPU_HT_AUTO, SE_CPU_HT_SPARSE_DISPATCHER_PRIORITY, SE_CPU_HT_SPARSE_PROXY_PRIORITY, SE_CPU_HT_PACKED_CORES. Field introduced in 20.1.1. SeHyperthreadedMode *string `json:"se_hyperthreaded_mode,omitempty"` + // Determines if SE-SE IPC messages are encapsulated in an IP header 0 Automatically determine based on hypervisor type 1 Use IP encap unconditionally ~[0,1] Don't use IP encapRequires SE Reboot. Field introduced in 20.1.3. + SeIPEncapIpc *int32 `json:"se_ip_encap_ipc,omitempty"` + // UDP Port for SE_DP IPC in Docker bridge mode. Field deprecated in 20.1.1. Field introduced in 17.1.2. SeIpcUDPPort *int32 `json:"se_ipc_udp_port,omitempty"` - // Knob to control burst size used in polling KNI interfaces for traffic sent from KNI towards DPDK application Also controls burst size used by KNI module to read pkts punted from DPDK application towards KNI Helps minimize drops in non-VIP traffic in either pathFactor of (0-2) multiplies/divides burst size by 2^N. Allowed values are 0-2. Field introduced in 18.2.6. + // This knob controls the resource availability and burst size used between SE datapath and KNI. This helps in minimising packet drops when there is higher KNI traffic (non-VIP traffic from and to Linux). The factor takes the following values 0-default. 1-doubles the burst size and KNI resources. 2-quadruples the burst size and KNI resources. Allowed values are 0-2. Field introduced in 18.2.6. SeKniBurstFactor *int32 `json:"se_kni_burst_factor,omitempty"` + // Determines if SE-SE IPC messages use SE interface IP instead of VIP 0 Automatically determine based on hypervisor type 1 Use SE interface IP unconditionally ~[0,1] Don't use SE interface IPRequires SE Reboot. Field introduced in 20.1.3. + SeL3EncapIpc *int32 `json:"se_l3_encap_ipc,omitempty"` + // Enable or disable Large Receive Optimization for vnics. Requires SE Reboot. Field introduced in 18.2.5. SeLro *bool `json:"se_lro,omitempty"` + // The retry count for the multi-producer enqueue before yielding the CPU. To be used under surveillance of Avi Support. Field introduced in 20.1.3. Allowed in Basic(Allowed values- 500) edition, Essentials(Allowed values- 500) edition, Enterprise edition. + SeMpRingRetryCount *int32 `json:"se_mp_ring_retry_count,omitempty"` + // MTU for the VNICs of SEs in the SE group. Allowed values are 512-9000. Field introduced in 18.2.8, 20.1.1. SeMtu *int32 `json:"se_mtu,omitempty"` @@ -486,13 +546,13 @@ type ServiceEngineGroup struct { // Number of Sideband threads per SE.Requires SE Reboot. Allowed values are 1-128. Field introduced in 16.5.2, 17.1.9, 17.2.3. SeSbThreads *int32 `json:"se_sb_threads,omitempty"` - // Multiplier for SE threads based on vCPU. Allowed values are 1-10. + // Multiplier for SE threads based on vCPU. Allowed values are 1-10. Allowed in Basic(Allowed values- 1) edition, Essentials(Allowed values- 1) edition, Enterprise edition. SeThreadMultiplier *int32 `json:"se_thread_multiplier,omitempty"` // Traceroute port range. Field introduced in 17.2.8. SeTracertPortRange *PortRange `json:"se_tracert_port_range,omitempty"` - // Determines if DSR from secondary SE is active or not 0 Automatically determine based on hypervisor type. 1 Disable DSR unconditionally. 2 Enable DSR unconditionally. Allowed values are 0-2. Field introduced in 17.1.1. + // Determines if Direct Secondary Return (DSR) from secondary SE is active or not 0 Automatically determine based on hypervisor type. 1 Enable tunnel mode - DSR is unconditionally disabled. 2 Disable tunnel mode - DSR is unconditionally enabled. Tunnel mode can be enabled or disabled at run-time. Allowed values are 0-2. Field introduced in 17.1.1. Allowed in Basic(Allowed values- 0) edition, Essentials(Allowed values- 0) edition, Enterprise edition. SeTunnelMode *int32 `json:"se_tunnel_mode,omitempty"` // UDP Port for tunneled packets from secondary to primary SE in Docker bridge mode.Requires SE Reboot. Field introduced in 17.1.3. @@ -501,6 +561,9 @@ type ServiceEngineGroup struct { // Number of packets to batch for transmit to the nic. Requires SE Reboot. Field introduced in 18.2.5. SeTxBatchSize *int32 `json:"se_tx_batch_size,omitempty"` + // Once the TX queue of the dispatcher reaches this threshold, hardware queues are not polled for further packets. To be used under surveillance of Avi Support. Allowed values are 512-32768. Field introduced in 20.1.2. Allowed in Basic(Allowed values- 2048) edition, Essentials(Allowed values- 2048) edition, Enterprise edition. + SeTxqThreshold *int32 `json:"se_txq_threshold,omitempty"` + // Determines if SE-SE IPC messages are encapsulated in a UDP header 0 Automatically determine based on hypervisor type. 1 Use UDP encap unconditionally.Requires SE Reboot. Allowed values are 0-1. Field introduced in 17.1.2. SeUDPEncapIpc *int32 `json:"se_udp_encap_ipc,omitempty"` @@ -519,19 +582,19 @@ type ServiceEngineGroup struct { // Maximum number of virtualservices for which heartbeat messages are aggregated in one packet. Allowed values are 1-1024. Field introduced in 17.1.1. SeVsHbMaxVsInPkt *int32 `json:"se_vs_hb_max_vs_in_pkt,omitempty"` - // Enable SEs to elect a primary amongst themselves in the absence of a connectivity to controller. Field introduced in 18.1.2. + // Enable SEs to elect a primary amongst themselves in the absence of a connectivity to controller. Field introduced in 18.1.2. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. SelfSeElection *bool `json:"self_se_election,omitempty"` - // IPv6 Subnets assigned to the SE group. Required for VS group placement. Field introduced in 18.1.1. + // IPv6 Subnets assigned to the SE group. Required for VS group placement. Field introduced in 18.1.1. Maximum of 128 items allowed. ServiceIp6Subnets []*IPAddrPrefix `json:"service_ip6_subnets,omitempty"` - // Subnets assigned to the SE group. Required for VS group placement. Field introduced in 17.1.1. + // Subnets assigned to the SE group. Required for VS group placement. Field introduced in 17.1.1. Maximum of 128 items allowed. ServiceIPSubnets []*IPAddrPrefix `json:"service_ip_subnets,omitempty"` // Minimum required shared memory to apply any configuration. Allowed values are 0-100. Field introduced in 18.1.2. Unit is MB. ShmMinimumConfigMemory *int32 `json:"shm_minimum_config_memory,omitempty"` - // This setting limits the number of significant logs generated per second per core on this SE. Default is 100 logs per second. Set it to zero (0) to disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // This setting limits the number of significant logs generated per second per core on this SE. Default is 100 logs per second. Set it to zero (0) to deactivate throttling. Field introduced in 17.1.3. Unit is PER_SECOND. SignificantLogThrottle *int32 `json:"significant_log_throttle,omitempty"` // (Beta) Preprocess SSL Client Hello for SNI hostname extension.If set to True, this will apply SNI child's SSL protocol(s), if they are different from SNI Parent's allowed SSL protocol(s). Field introduced in 17.2.12, 18.1.3. @@ -543,7 +606,7 @@ type ServiceEngineGroup struct { // The threshold for the transient shared config memory in the SE. Allowed values are 0-100. Field introduced in 20.1.1. Unit is PERCENT. TransientSharedMemoryMax *int32 `json:"transient_shared_memory_max,omitempty"` - // This setting limits the number of UDF logs generated per second per core on this SE. UDF logs are generated due to the configured client log filters or the rules with logging enabled. Default is 100 logs per second. Set it to zero (0) to disable throttling. Field introduced in 17.1.3. Unit is PER_SECOND. + // This setting limits the number of UDF logs generated per second per core on this SE. UDF logs are generated due to the configured client log filters or the rules with logging enabled. Default is 100 logs per second. Set it to zero (0) to deactivate throttling. Field introduced in 17.1.3. Unit is PER_SECOND. UdfLogThrottle *int32 `json:"udf_log_throttle,omitempty"` // url @@ -553,6 +616,9 @@ type ServiceEngineGroup struct { // Enables the use of hyper-threaded cores on SE. Requires SE Reboot. Field introduced in 20.1.1. UseHyperthreadedCores *bool `json:"use_hyperthreaded_cores,omitempty"` + // Enable InterSE Objsyc distribution framework. Field introduced in 20.1.3. + UseObjsync *bool `json:"use_objsync,omitempty"` + // Use Standard SKU Azure Load Balancer. By default cloud level flag is set. If not set, it inherits/uses the use_standard_alb flag from the cloud. Field introduced in 18.2.3. UseStandardAlb *bool `json:"use_standard_alb,omitempty"` @@ -586,7 +652,7 @@ type ServiceEngineGroup struct { // When vip_asg is set, Vip configuration will be managed by Avi.User will be able to configure vip_asg or Vips individually at the time of create. Field introduced in 17.2.12, 18.1.2. VipAsg *VipAutoscaleGroup `json:"vip_asg,omitempty"` - // Ensure primary and secondary Service Engines are deployed on different physical hosts. + // Ensure primary and secondary Service Engines are deployed on different physical hosts. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. Special default for Basic edition is true, Essentials edition is true, Enterprise is True. VsHostRedundancy *bool `json:"vs_host_redundancy,omitempty"` // Time to wait for the scaled in SE to drain existing flows before marking the scalein done. Unit is SEC. diff --git a/vendor/github.com/avinetworks/sdk/go/models/service_match.go b/vendor/github.com/avinetworks/sdk/go/models/service_match.go index e013f0023..394f0e0df 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/service_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/service_match.go @@ -10,7 +10,7 @@ type ServiceMatch struct { // Destination Port of the packet. Field introduced in 18.2.5. DestinationPort *PortMatch `json:"destination_port,omitempty"` - // Protocol to match. Field introduced in 20.1.1. + // Protocol to match. Supported protocols are TCP, UDP and ICMP. Field introduced in 20.1.1. Protocol *L4RuleProtocolMatch `json:"protocol,omitempty"` // Source Port of the packet. Field introduced in 18.2.5. diff --git a/vendor/github.com/avinetworks/sdk/go/models/single_license.go b/vendor/github.com/avinetworks/sdk/go/models/single_license.go deleted file mode 100644 index 73983fa64..000000000 --- a/vendor/github.com/avinetworks/sdk/go/models/single_license.go +++ /dev/null @@ -1,78 +0,0 @@ -package models - -// This file is auto-generated. -// Please contact avi-sdk@avinetworks.com for any change requests. - -// SingleLicense single license -// swagger:model SingleLicense -type SingleLicense struct { - - // Total number of Service Engine burst cores for core based licenses. Field introduced in 17.2.5. - BurstCores *int32 `json:"burst_cores,omitempty"` - - // Number of Service Engine cores in non-container clouds. - Cores *int32 `json:"cores,omitempty"` - - // Total number of cpu cores. Field introduced in 20.1.1. - CPUCores *float64 `json:"cpu_cores,omitempty"` - - // created_on of SingleLicense. - CreatedOn *string `json:"created_on,omitempty"` - - // customer_name of SingleLicense. - // Required: true - CustomerName *string `json:"customer_name"` - - // enforced_params of SingleLicense. - EnforcedParams []string `json:"enforced_params,omitempty"` - - // Flag to track license expiry. Field introduced in 20.1.1. - Expired *bool `json:"expired,omitempty"` - - // last_update of SingleLicense. - LastUpdate *string `json:"last_update,omitempty"` - - // license_id of SingleLicense. - LicenseID *string `json:"license_id,omitempty"` - - // license_name of SingleLicense. - // Required: true - LicenseName *string `json:"license_name"` - - // license_string of SingleLicense. - LicenseString *string `json:"license_string,omitempty"` - - // license_tier of SingleLicense. - LicenseTier []string `json:"license_tier,omitempty"` - - // license_type of SingleLicense. - LicenseType *string `json:"license_type,omitempty"` - - // Number of Service Engines hosts in container clouds. - MaxSes *int32 `json:"max_ses,omitempty"` - - // Service Engine bandwidth limits for bandwidth based licenses. Field introduced in 17.2.5. - SeBandwidthLimits []*SEBandwidthLimit `json:"se_bandwidth_limits,omitempty"` - - // Serial key (Hyphen separated 25 char wide alphanumeric key Ex AA123-23BAS-383AS-383UD-FHSFG). Field introduced in 20.1.1. - SerialKey *string `json:"serial_key,omitempty"` - - // Total number of service cores equivalent to all the resoures available in the single license. Field introduced in 20.1.1. - ServiceCores *float64 `json:"service_cores,omitempty"` - - // Number of physical cpu sockets across Service Engines in no access and linux server clouds. - Sockets *int32 `json:"sockets,omitempty"` - - // start_on of SingleLicense. - StartOn *string `json:"start_on,omitempty"` - - // Specifies the licensed tier. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. - TierType *string `json:"tier_type,omitempty"` - - // valid_until of SingleLicense. - // Required: true - ValidUntil *string `json:"valid_until"` - - // version of SingleLicense. - Version *string `json:"version,omitempty"` -} diff --git a/vendor/github.com/avinetworks/sdk/go/models/static_ip_alloc_info.go b/vendor/github.com/avinetworks/sdk/go/models/static_ip_alloc_info.go new file mode 100644 index 000000000..2fbb41b73 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/static_ip_alloc_info.go @@ -0,0 +1,19 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// StaticIPAllocInfo static Ip alloc info +// swagger:model StaticIpAllocInfo +type StaticIPAllocInfo struct { + + // IP address. Field introduced in 20.1.3. + // Required: true + IP *IPAddr `json:"ip"` + + // Object metadata. Field introduced in 20.1.3. + ObjInfo *string `json:"obj_info,omitempty"` + + // Object which this IP address is allocated to. Field introduced in 20.1.3. + ObjUUID *string `json:"obj_uuid,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/static_ip_range.go b/vendor/github.com/avinetworks/sdk/go/models/static_ip_range.go new file mode 100644 index 000000000..29436f172 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/static_ip_range.go @@ -0,0 +1,16 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// StaticIPRange static Ip range +// swagger:model StaticIpRange +type StaticIPRange struct { + + // IP range. Field introduced in 20.1.3. + // Required: true + Range *IPAddrRange `json:"range"` + + // Object type (VIP only, Service Engine only, or both) which can use this IP range. Enum options - STATIC_IPS_FOR_SE, STATIC_IPS_FOR_VIP, STATIC_IPS_FOR_VIP_AND_SE. Field introduced in 20.1.3. + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/static_ip_range_runtime.go b/vendor/github.com/avinetworks/sdk/go/models/static_ip_range_runtime.go new file mode 100644 index 000000000..9ec34bc90 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/static_ip_range_runtime.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// StaticIPRangeRuntime static Ip range runtime +// swagger:model StaticIpRangeRuntime +type StaticIPRangeRuntime struct { + + // Allocated IPs. Field introduced in 20.1.3. + AllocatedIps []*StaticIPAllocInfo `json:"allocated_ips,omitempty"` + + // Free IP count. Field introduced in 20.1.3. + FreeIPCount *int32 `json:"free_ip_count,omitempty"` + + // Total IP count. Field introduced in 20.1.3. + TotalIPCount *int32 `json:"total_ip_count,omitempty"` + + // Object type (VIP only, Service Engine only, or both) which is using this IP group. Enum options - STATIC_IPS_FOR_SE, STATIC_IPS_FOR_VIP, STATIC_IPS_FOR_VIP_AND_SE. Field introduced in 20.1.3. + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/static_route.go b/vendor/github.com/avinetworks/sdk/go/models/static_route.go index 14b82d3df..d6a73cbac 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/static_route.go +++ b/vendor/github.com/avinetworks/sdk/go/models/static_route.go @@ -13,7 +13,7 @@ type StaticRoute struct { // if_name of StaticRoute. IfName *string `json:"if_name,omitempty"` - // Labels associated with this route. Field introduced in 20.1.1. + // Labels associated with this route. Field introduced in 20.1.1. Maximum of 1 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Placeholder for description of property next_hop of obj type StaticRoute field type str type object diff --git a/vendor/github.com/avinetworks/sdk/go/models/string_group.go b/vendor/github.com/avinetworks/sdk/go/models/string_group.go index 6b583f641..07579ea2c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/string_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/string_group.go @@ -17,7 +17,7 @@ type StringGroup struct { // Configure Key Value in the *string group. Kv []*KeyValue `json:"kv,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Enable the longest match, default is the shortest match. Field introduced in 18.2.8. diff --git a/vendor/github.com/avinetworks/sdk/go/models/string_match.go b/vendor/github.com/avinetworks/sdk/go/models/string_match.go index 591e218fd..dc653b2c7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/string_match.go +++ b/vendor/github.com/avinetworks/sdk/go/models/string_match.go @@ -7,7 +7,7 @@ package models // swagger:model StringMatch type StringMatch struct { - // Criterion to use for *string matching the HTTP request. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. + // Criterion to use for *string matching the HTTP request. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH. Allowed in Basic(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Essentials(Allowed values- BEGINS_WITH,DOES_NOT_BEGIN_WITH,CONTAINS,DOES_NOT_CONTAIN,ENDS_WITH,DOES_NOT_END_WITH,EQUALS,DOES_NOT_EQUAL) edition, Enterprise edition. // Required: true MatchCriteria *string `json:"match_criteria"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/sub_job.go b/vendor/github.com/avinetworks/sdk/go/models/sub_job.go index 5e1a6f747..35cf80747 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/sub_job.go +++ b/vendor/github.com/avinetworks/sdk/go/models/sub_job.go @@ -17,7 +17,7 @@ type SubJob struct { // Number of times the sub job got scheduled. Field introduced in 20.1.1. NumTries *int32 `json:"num_tries,omitempty"` - // Enum options - JOB_TYPE_VS_FULL_LOGS, JOB_TYPE_VS_UDF, JOB_TYPE_VS_METRICS_RT, JOB_TYPE_SSL_CERT, JOB_TYPE_DEBUGVS_PKT_CAPTURE, JOB_TYPE_CONSISTENCY_CHECK, JOB_TYPE_TECHSUPPORT, JOB_TYPE_PKI_PROFILE, JOB_TYPE_NSP_RULE, JOB_TYPE_SEGROUP_METRICS_RT, JOB_TYPE_POSTGRES_STATUS, JOB_TYPE_VS_ROTATE_KEYS, JOB_TYPE_POOL_DNS, JOB_TYPE_GSLB_SERVICE, JOB_TYPE_APP_PERSISTENCE, JOB_TYPE_PROCESS_LOCKED_USER_ACCOUNTS, JOB_TYPE_SESSION, JOB_TYPE_AUTHTOKEN, JOB_TYPE_CLUSTER, JOB_TYPE_SE_SECURE_CHANNEL_CLEANUP, JOB_TYPE_OCSP_STAPLE_STATUS, JOB_TYPE_FILE_OBJECT_CLEANUP. Field introduced in 18.1.1. + // Enum options - JOB_TYPE_VS_FULL_LOGS, JOB_TYPE_VS_UDF, JOB_TYPE_VS_METRICS_RT, JOB_TYPE_SSL_CERT, JOB_TYPE_DEBUGVS_PKT_CAPTURE, JOB_TYPE_CONSISTENCY_CHECK, JOB_TYPE_TECHSUPPORT, JOB_TYPE_PKI_PROFILE, JOB_TYPE_NSP_RULE, JOB_TYPE_SEGROUP_METRICS_RT, JOB_TYPE_POSTGRES_STATUS, JOB_TYPE_VS_ROTATE_KEYS, JOB_TYPE_POOL_DNS, JOB_TYPE_GSLB_SERVICE, JOB_TYPE_APP_PERSISTENCE, JOB_TYPE_PROCESS_LOCKED_USER_ACCOUNTS, JOB_TYPE_SESSION, JOB_TYPE_AUTHTOKEN, JOB_TYPE_CLUSTER, JOB_TYPE_SE_SECURE_CHANNEL_CLEANUP, JOB_TYPE_OCSP_STAPLE_STATUS, JOB_TYPE_FILE_OBJECT_CLEANUP, JOB_TYPE_WAF_POLICY_REFRESH_APPLICATION_SIGNATURES, JOB_TYPE_POOL_ASYNC, JOB_TYPE_PROCESS_BASELINE_BENCHMARK. Field introduced in 18.1.1. // Required: true Type *string `json:"type"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/subnet.go b/vendor/github.com/avinetworks/sdk/go/models/subnet.go index a82f52ff7..765cd861b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/subnet.go +++ b/vendor/github.com/avinetworks/sdk/go/models/subnet.go @@ -11,9 +11,12 @@ type Subnet struct { // Required: true Prefix *IPAddrPrefix `json:"prefix"` - // Specify a pool of IP addresses for use in Service Engines. + // Static IP ranges for this subnet. Field introduced in 20.1.3. + StaticIPRanges []*StaticIPRange `json:"static_ip_ranges,omitempty"` + + // Use static_ip_ranges. Field deprecated in 20.1.3. StaticIps []*IPAddr `json:"static_ips,omitempty"` - // Placeholder for description of property static_ranges of obj type Subnet field type str type object + // Use static_ip_ranges. Field deprecated in 20.1.3. StaticRanges []*IPAddrRange `json:"static_ranges,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/subnet_runtime.go b/vendor/github.com/avinetworks/sdk/go/models/subnet_runtime.go index 26b1fe846..062011653 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/subnet_runtime.go +++ b/vendor/github.com/avinetworks/sdk/go/models/subnet_runtime.go @@ -7,19 +7,22 @@ package models // swagger:model SubnetRuntime type SubnetRuntime struct { - // Number of free_ip_count. + // Moved to StaticIpRangeRuntime. Field deprecated in 20.1.3. FreeIPCount *int32 `json:"free_ip_count,omitempty"` - // Placeholder for description of property ip_alloced of obj type SubnetRuntime field type str type object + // Use allocated_ips in StaticIpRangeRuntime. Field deprecated in 20.1.3. IPAlloced []*IPAllocInfo `json:"ip_alloced,omitempty"` + // Static IP range runtime. Field introduced in 20.1.3. + IPRangeRuntimes []*StaticIPRangeRuntime `json:"ip_range_runtimes,omitempty"` + // Placeholder for description of property prefix of obj type SubnetRuntime field type str type object // Required: true Prefix *IPAddrPrefix `json:"prefix"` - // Number of total_ip_count. + // Moved to StaticIpRangeRuntime. Field deprecated in 20.1.3. TotalIPCount *int32 `json:"total_ip_count,omitempty"` - // Number of used_ip_count. + // Can be derived from total - free in StaticIpRangeRuntime. Field deprecated in 20.1.3. UsedIPCount *int32 `json:"used_ip_count,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/supported_migrations.go b/vendor/github.com/avinetworks/sdk/go/models/supported_migrations.go index f72a2aa84..f58fc5539 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/supported_migrations.go +++ b/vendor/github.com/avinetworks/sdk/go/models/supported_migrations.go @@ -13,9 +13,18 @@ type SupportedMigrations struct { // Minimum space required(in GB) on controller host for this image installation. Field introduced in 18.2.6. Unit is GB. ControllerHostMinFreeDiskSize *int32 `json:"controller_host_min_free_disk_size,omitempty"` + // Minimum number of cores required for Controller. Field introduced in 18.2.10, 20.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. + ControllerMinCores *int32 `json:"controller_min_cores,omitempty"` + // Minimum space required(in GB) on controller for this image installation. Field introduced in 18.2.6. Unit is GB. ControllerMinFreeDiskSize *int32 `json:"controller_min_free_disk_size,omitempty"` + // Minimum memory required(in GB) for Controller. Field introduced in 18.2.10, 20.1.2. Unit is GB. Allowed in Basic edition, Essentials edition, Enterprise edition. + ControllerMinMemory *int32 `json:"controller_min_memory,omitempty"` + + // Minimum space required(in GB) for Controller. Field introduced in 18.2.10, 20.1.2. Unit is GB. Allowed in Basic edition, Essentials edition, Enterprise edition. + ControllerMinTotalDisk *int32 `json:"controller_min_total_disk,omitempty"` + // Supported active versions for this image. Field introduced in 18.2.6. MaxActiveVersions *int32 `json:"max_active_versions,omitempty"` @@ -28,9 +37,18 @@ type SupportedMigrations struct { // Minimum space required(in GB) on se host for this image installation. Field introduced in 18.2.6. Unit is GB. SeHostMinFreeDiskSize *int32 `json:"se_host_min_free_disk_size,omitempty"` + // Minimum number of cores required for se. Field introduced in 18.2.10, 20.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. + SeMinCores *int32 `json:"se_min_cores,omitempty"` + // Minimum space required(in GB) on se for this image installation. Field introduced in 18.2.6. Unit is GB. SeMinFreeDiskSize *int32 `json:"se_min_free_disk_size,omitempty"` + // Minimum memory required(in GB) for se. Field introduced in 18.2.10, 20.1.2. Unit is GB. Allowed in Basic edition, Essentials edition, Enterprise edition. + SeMinMemory *int32 `json:"se_min_memory,omitempty"` + + // Minimum space required(in GB) for se. Field introduced in 18.2.10, 20.1.2. Unit is GB. Allowed in Basic edition, Essentials edition, Enterprise edition. + SeMinTotalDisk *int32 `json:"se_min_total_disk,omitempty"` + // Supported compatible versions for this image. Field introduced in 18.2.6. Versions []string `json:"versions,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/system_configuration.go b/vendor/github.com/avinetworks/sdk/go/models/system_configuration.go index ddce4e2fc..d3c26cfc2 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/system_configuration.go +++ b/vendor/github.com/avinetworks/sdk/go/models/system_configuration.go @@ -14,7 +14,10 @@ type SystemConfiguration struct { // Placeholder for description of property admin_auth_configuration of obj type SystemConfiguration field type str type object AdminAuthConfiguration *AdminAuthConfiguration `json:"admin_auth_configuration,omitempty"` - // Specifies the default license tier which would be used by new Clouds. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC. Field introduced in 17.2.5. + // Enable Common Criteria Compliance mode (Disabled by default). WARN Toggling this field is disruptive and will result in reduced behavior with SSH and TLS protocols. Expect possible warm start of control and data planes. Field introduced in 20.1.3. + CommonCriteriaMode *bool `json:"common_criteria_mode,omitempty"` + + // Specifies the default license tier which would be used by new Clouds. Enum options - ENTERPRISE_16, ENTERPRISE, ENTERPRISE_18, BASIC, ESSENTIALS. Field introduced in 17.2.5. Allowed in Basic edition, Essentials edition, Enterprise edition. Special default for Basic edition is BASIC, Essentials edition is ESSENTIALS, Enterprise is ENTERPRISE. DefaultLicenseTier *string `json:"default_license_tier,omitempty"` // Placeholder for description of property dns_configuration of obj type SystemConfiguration field type str type object @@ -29,6 +32,9 @@ type SystemConfiguration struct { // Placeholder for description of property email_configuration of obj type SystemConfiguration field type str type object EmailConfiguration *EmailConfiguration `json:"email_configuration,omitempty"` + // Enable CORS Header. Field introduced in 20.1.3. + EnableCors *bool `json:"enable_cors,omitempty"` + // Enable FIPS mode. Field introduced in 20.1.1. FipsMode *bool `json:"fips_mode,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/tacacs_plus_auth_settings.go b/vendor/github.com/avinetworks/sdk/go/models/tacacs_plus_auth_settings.go index 6b4b583a8..02e599f10 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tacacs_plus_auth_settings.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tacacs_plus_auth_settings.go @@ -16,7 +16,7 @@ type TacacsPlusAuthSettings struct { // TACACS+ server listening port. Port *int32 `json:"port,omitempty"` - // TACACS+ server IP address or FQDN. + // TACACS+ server IP address or FQDN. Minimum of 1 items required. Server []string `json:"server,omitempty"` // TACACS+ service. Enum options - AUTH_TACACS_PLUS_SERVICE_NONE, AUTH_TACACS_PLUS_SERVICE_LOGIN, AUTH_TACACS_PLUS_SERVICE_ENABLE, AUTH_TACACS_PLUS_SERVICE_PPP, AUTH_TACACS_PLUS_SERVICE_ARAP, AUTH_TACACS_PLUS_SERVICE_PT, AUTH_TACACS_PLUS_SERVICE_RCMD, AUTH_TACACS_PLUS_SERVICE_X25, AUTH_TACACS_PLUS_SERVICE_NASI, AUTH_TACACS_PLUS_SERVICE_FWPROXY. diff --git a/vendor/github.com/avinetworks/sdk/go/models/tcp_application_profile.go b/vendor/github.com/avinetworks/sdk/go/models/tcp_application_profile.go index 930b0693d..711786f7b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tcp_application_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tcp_application_profile.go @@ -7,15 +7,15 @@ package models // swagger:model TCPApplicationProfile type TCPApplicationProfile struct { - // Select the PKI profile to be associated with the Virtual Service. This profile defines the Certificate Authority and Revocation List. It is a reference to an object of type PKIProfile. Field introduced in 18.2.3. + // Select the PKI profile to be associated with the Virtual Service. This profile defines the Certificate Authority and Revocation List. It is a reference to an object of type PKIProfile. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. PkiProfileRef *string `json:"pki_profile_ref,omitempty"` - // Enable/Disable the usage of proxy protocol to convey client connection information to the back-end servers. Valid only for L4 application profiles and TCP proxy. + // Enable/Disable the usage of proxy protocol to convey client connection information to the back-end servers. Valid only for L4 application profiles and TCP proxy. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. ProxyProtocolEnabled *bool `json:"proxy_protocol_enabled,omitempty"` - // Version of proxy protocol to be used to convey client connection information to the back-end servers. Enum options - PROXY_PROTOCOL_VERSION_1, PROXY_PROTOCOL_VERSION_2. + // Version of proxy protocol to be used to convey client connection information to the back-end servers. Enum options - PROXY_PROTOCOL_VERSION_1, PROXY_PROTOCOL_VERSION_2. Allowed in Basic(Allowed values- PROXY_PROTOCOL_VERSION_1) edition, Essentials(Allowed values- PROXY_PROTOCOL_VERSION_1) edition, Enterprise edition. ProxyProtocolVersion *string `json:"proxy_protocol_version,omitempty"` - // Specifies whether the client side verification is set to none, request or require. Enum options - SSL_CLIENT_CERTIFICATE_NONE, SSL_CLIENT_CERTIFICATE_REQUEST, SSL_CLIENT_CERTIFICATE_REQUIRE. Field introduced in 18.2.3. + // Specifies whether the client side verification is set to none, request or require. Enum options - SSL_CLIENT_CERTIFICATE_NONE, SSL_CLIENT_CERTIFICATE_REQUEST, SSL_CLIENT_CERTIFICATE_REQUIRE. Field introduced in 18.2.3. Allowed in Basic(Allowed values- SSL_CLIENT_CERTIFICATE_NONE) edition, Essentials(Allowed values- SSL_CLIENT_CERTIFICATE_NONE) edition, Enterprise edition. SslClientCertificateMode *string `json:"ssl_client_certificate_mode,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/tcp_fast_path_profile.go b/vendor/github.com/avinetworks/sdk/go/models/tcp_fast_path_profile.go index d51154510..782277752 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tcp_fast_path_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tcp_fast_path_profile.go @@ -7,10 +7,10 @@ package models // swagger:model TCPFastPathProfile type TCPFastPathProfile struct { - // DSR profile information. Field introduced in 18.2.3. + // DSR profile information. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. DsrProfile *DsrProfile `json:"dsr_profile,omitempty"` - // When enabled, Avi will complete the 3-way handshake with the client before forwarding any packets to the server. This will protect the server from SYN flood and half open SYN connections. + // When enabled, Avi will complete the 3-way handshake with the client before forwarding any packets to the server. This will protect the server from SYN flood and half open SYN connections. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EnableSynProtection *bool `json:"enable_syn_protection,omitempty"` // The amount of time (in sec) for which a connection needs to be idle before it is eligible to be deleted. Allowed values are 5-14400. Special values are 0 - 'infinite'. Unit is SEC. diff --git a/vendor/github.com/avinetworks/sdk/go/models/tcp_proxy_profile.go b/vendor/github.com/avinetworks/sdk/go/models/tcp_proxy_profile.go index 2218cfdf7..f75df11a8 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tcp_proxy_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tcp_proxy_profile.go @@ -13,7 +13,7 @@ type TCPProxyProfile struct { // Controls whether the windows are static or supports autogrowth. Maximum that it can grow to is limited to 4MB. Field introduced in 20.1.1. AutoWindowGrowth *bool `json:"auto_window_growth,omitempty"` - // Dynamically pick the relevant parameters for connections. + // Dynamically pick the relevant parameters for connections. Allowed in Basic(Allowed values- true) edition, Enterprise edition. Automatic *bool `json:"automatic,omitempty"` // Controls the congestion control algorithm we use. Enum options - CC_ALGO_NEW_RENO, CC_ALGO_CUBIC, CC_ALGO_HTCP. diff --git a/vendor/github.com/avinetworks/sdk/go/models/tenant.go b/vendor/github.com/avinetworks/sdk/go/models/tenant.go index e0a73515e..cbb34fbf2 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tenant.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tenant.go @@ -27,7 +27,7 @@ type Tenant struct { // Required: true Name *string `json:"name"` - // Suggestive pool of key value pairs for recommending assignment of labels to objects in the User Interface. Every entry is unique in both key and value. Field introduced in 20.2.1. + // Suggestive pool of key value pairs for recommending assignment of labels to objects in the User Interface. Every entry is unique in both key and value. Field introduced in 20.1.2. Maximum of 256 items allowed. SuggestedObjectLabels []*TenantLabel `json:"suggested_object_labels,omitempty"` // url diff --git a/vendor/github.com/avinetworks/sdk/go/models/tenant_label.go b/vendor/github.com/avinetworks/sdk/go/models/tenant_label.go index 3f2b2962e..5b91548ee 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/tenant_label.go +++ b/vendor/github.com/avinetworks/sdk/go/models/tenant_label.go @@ -7,10 +7,10 @@ package models // swagger:model TenantLabel type TenantLabel struct { - // Label key string. Field introduced in 20.2.1. + // Label key string. Field introduced in 20.1.2. // Required: true Key *string `json:"key"` - // Label value string. Field introduced in 20.2.1. + // Label value string. Field introduced in 20.1.2. Value *string `json:"value,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/traffic_clone_profile.go b/vendor/github.com/avinetworks/sdk/go/models/traffic_clone_profile.go index 0ce02bb1b..f75c272ff 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/traffic_clone_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/traffic_clone_profile.go @@ -11,13 +11,13 @@ type TrafficCloneProfile struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // Field introduced in 17.1.1. + // Field introduced in 17.1.1. Maximum of 10 items allowed. CloneServers []*CloneServer `json:"clone_servers,omitempty"` // It is a reference to an object of type Cloud. Field introduced in 17.1.1. CloudRef *string `json:"cloud_ref,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name for the Traffic Clone Profile. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/udp_fast_path_profile.go b/vendor/github.com/avinetworks/sdk/go/models/udp_fast_path_profile.go index 2d5434333..9bfe65113 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/udp_fast_path_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/udp_fast_path_profile.go @@ -7,10 +7,10 @@ package models // swagger:model UDPFastPathProfile type UDPFastPathProfile struct { - // DSR profile information. Field introduced in 18.2.3. + // DSR profile information. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. DsrProfile *DsrProfile `json:"dsr_profile,omitempty"` - // When enabled, every UDP packet is considered a new transaction and may be load balanced to a different server. When disabled, packets from the same client source IP and port are sent to the same server. + // When enabled, every UDP packet is considered a new transaction and may be load balanced to a different server. When disabled, packets from the same client source IP and port are sent to the same server. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. PerPktLoadbalance *bool `json:"per_pkt_loadbalance,omitempty"` // The amount of time (in sec) for which a flow needs to be idle before it is deleted. Allowed values are 2-3600. Unit is SEC. diff --git a/vendor/github.com/avinetworks/sdk/go/models/upgrade_ops_state.go b/vendor/github.com/avinetworks/sdk/go/models/upgrade_ops_state.go index 9c9200e4c..04420a983 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/upgrade_ops_state.go +++ b/vendor/github.com/avinetworks/sdk/go/models/upgrade_ops_state.go @@ -13,6 +13,9 @@ type UpgradeOpsState struct { // Descriptive reason for the state-change. Field introduced in 18.2.6. Reason *string `json:"reason,omitempty"` - // The upgrade operations current fsm-state. Enum options - UPGRADE_FSM_INIT, UPGRADE_FSM_STARTED, UPGRADE_FSM_WAITING, UPGRADE_FSM_IN_PROGRESS, UPGRADE_FSM_ENQUEUED, UPGRADE_FSM_ERROR, UPGRADE_FSM_SUSPENDED, UPGRADE_FSM_ENQUEUE_FAILED, UPGRADE_FSM_PAUSED, UPGRADE_FSM_COMPLETED, UPGRADE_FSM_ABORT_IN_PROGRESS, UPGRADE_FSM_ABORTED, UPGRADE_FSM_DUMMY_1, UPGRADE_FSM_DUMMY_2, UPGRADE_FSM_DUMMY_3, UPGRADE_FSM_DUMMY_4, UPGRADE_FSM_DUMMY_5. Field introduced in 18.2.6. + // State for keeping track of reboot status during upgrade operation. Field introduced in 20.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. + Rebooted *bool `json:"rebooted,omitempty"` + + // The upgrade operations current fsm-state. Enum options - UPGRADE_FSM_INIT, UPGRADE_FSM_STARTED, UPGRADE_FSM_WAITING, UPGRADE_FSM_IN_PROGRESS, UPGRADE_FSM_ENQUEUED, UPGRADE_FSM_ERROR, UPGRADE_FSM_SUSPENDED, UPGRADE_FSM_ENQUEUE_FAILED, UPGRADE_FSM_PAUSED, UPGRADE_FSM_COMPLETED, UPGRADE_FSM_ABORT_IN_PROGRESS, UPGRADE_FSM_ABORTED, UPGRADE_FSM_SE_UPGRADE_IN_PROGRESS, UPGRADE_FSM_CONTROLLER_COMPLETED, UPGRADE_FSM_DUMMY_3, UPGRADE_FSM_DUMMY_4, UPGRADE_FSM_DUMMY_5. Field introduced in 18.2.6. State *string `json:"state,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/uri_param.go b/vendor/github.com/avinetworks/sdk/go/models/uri_param.go index df553f0f4..8b6205251 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/uri_param.go +++ b/vendor/github.com/avinetworks/sdk/go/models/uri_param.go @@ -7,7 +7,7 @@ package models // swagger:model URIParam type URIParam struct { - // Token config either for the URI components or a constant string. + // Token config either for the URI components or a constant string. Minimum of 1 items required. Tokens []*URIParamToken `json:"tokens,omitempty"` // URI param type. Enum options - URI_PARAM_TYPE_TOKENIZED. diff --git a/vendor/github.com/avinetworks/sdk/go/models/user.go b/vendor/github.com/avinetworks/sdk/go/models/user.go new file mode 100644 index 000000000..6eb34c8f2 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/user.go @@ -0,0 +1,51 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// User user +// swagger:model User +type User struct { + + // UNIX time since epoch in microseconds. Units(MICROSECONDS). + // Read Only: true + LastModified *string `json:"_last_modified,omitempty"` + + // Placeholder for description of property access of obj type User field type str type object + Access []*UserRole `json:"access,omitempty"` + + // It is a reference to an object of type Tenant. + DefaultTenantRef *string `json:"default_tenant_ref,omitempty"` + + // email of User. + Email *string `json:"email,omitempty"` + + // full_name of User. + FullName *string `json:"full_name,omitempty"` + + // Placeholder for description of property is_superuser of obj type User field type str type boolean + IsSuperuser *bool `json:"is_superuser,omitempty"` + + // Placeholder for description of property local of obj type User field type str type boolean + Local *bool `json:"local,omitempty"` + + // Name of the object. + // Required: true + Name *string `json:"name"` + + // password of User. + Password *string `json:"password,omitempty"` + + // url + // Read Only: true + URL *string `json:"url,omitempty"` + + // It is a reference to an object of type UserAccountProfile. + UserProfileRef *string `json:"user_profile_ref,omitempty"` + + // username of User. + Username *string `json:"username,omitempty"` + + // Unique object identifier of the object. + UUID *string `json:"uuid,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/cluster_api_response.go b/vendor/github.com/avinetworks/sdk/go/models/user_api_response.go similarity index 61% rename from vendor/github.com/avinetworks/sdk/go/models/cluster_api_response.go rename to vendor/github.com/avinetworks/sdk/go/models/user_api_response.go index 508266c29..9ba09c3c1 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/cluster_api_response.go +++ b/vendor/github.com/avinetworks/sdk/go/models/user_api_response.go @@ -3,9 +3,9 @@ package models // This file is auto-generated. // Please contact avi-sdk@avinetworks.com for any change requests. -// ClusterAPIResponse cluster Api response -// swagger:model ClusterApiResponse -type ClusterAPIResponse struct { +// UserAPIResponse user Api response +// swagger:model UserApiResponse +type UserAPIResponse struct { // count // Required: true @@ -16,5 +16,5 @@ type ClusterAPIResponse struct { // results // Required: true - Results []*Cluster `json:"results,omitempty"` + Results []*User `json:"results,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/user_role.go b/vendor/github.com/avinetworks/sdk/go/models/user_role.go new file mode 100644 index 000000000..ab27ad22f --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/user_role.go @@ -0,0 +1,21 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// UserRole user role +// swagger:model UserRole +type UserRole struct { + + // Placeholder for description of property all_tenants of obj type UserRole field type str type boolean + AllTenants *bool `json:"all_tenants,omitempty"` + + // Reference to the Object Access Policy that defines a User's access in the corresponding Tenant. It is a reference to an object of type ObjectAccessPolicy. Field deprecated in 20.1.2. Field introduced in 18.2.7, 20.1.1. + ObjectAccessPolicyRef *string `json:"object_access_policy_ref,omitempty"` + + // It is a reference to an object of type Role. + RoleRef *string `json:"role_ref,omitempty"` + + // It is a reference to an object of type Tenant. + TenantRef *string `json:"tenant_ref,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/v_h_match.go b/vendor/github.com/avinetworks/sdk/go/models/v_h_match.go new file mode 100644 index 000000000..dc72d8205 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/v_h_match.go @@ -0,0 +1,16 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// VHMatch v h match +// swagger:model VHMatch +type VHMatch struct { + + // Host/domain name match configuration. Must be configured along with at least one path match criteria. Field introduced in 20.1.3. + // Required: true + Host *string `json:"host"` + + // Resource/uri path match configuration. Must be configured along with Host match criteria. Field introduced in 20.1.3. Minimum of 1 items required. + Path []*PathMatch `json:"path,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/v_i_fault_injection.go b/vendor/github.com/avinetworks/sdk/go/models/v_i_fault_injection.go index ed9a4f9c9..2c30b1ded 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/v_i_fault_injection.go +++ b/vendor/github.com/avinetworks/sdk/go/models/v_i_fault_injection.go @@ -7,7 +7,7 @@ package models // swagger:model VIFaultInjection type VIFaultInjection struct { - // Enum options - INITIAL_VALUE. CREATE_SE. MODIFY_VNIC. VM_MONITOR. RESOURCE_MONITOR. PERF_MONITOR. SET_MGMT_IP. MODIFY_MGMT_IP. SIM_VM_BULK_NOTIF. RESYNC_ERROR. SIMULATE_OVA_ERR. VCENTER_NO_OBJECTS. CREATE_VM_RUNTIME_ERR. VERSION_NULL_ERR. DISC_PGNAME_ERR. DISC_DCDETAILS_ERR. DISC_DC_ERR. DISC_HOST_ERR. DISC_CLUSTER_ERR. DISC_PG_ERR... + // Enum options - INITIAL_VALUE. CREATE_SE. MODIFY_VNIC. VM_MONITOR. RESOURCE_MONITOR. PERF_MONITOR. SET_MGMT_IP. MODIFY_MGMT_IP. SIM_VM_BULK_NOTIF. RESYNC_ERROR. SIMULATE_OVA_ERR. VCENTER_NO_OBJECTS. CREATE_VM_RUNTIME_ERR. VERSION_NULL_ERR. INVALID_LOGIN. DISC_PGNAME_ERR. DISC_DCDETAILS_ERR. DISC_DC_ERR. DISC_HOST_ERR. DISC_CLUSTER_ERR... // Required: true API *string `json:"api"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script.go b/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script.go index 1f1f4ef16..f4d617e90 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script.go +++ b/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script.go @@ -7,7 +7,7 @@ package models // swagger:model VSDataScript type VSDataScript struct { - // Event triggering execution of datascript. Enum options - VS_DATASCRIPT_EVT_HTTP_REQ, VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_REQ_DATA, VS_DATASCRIPT_EVT_HTTP_RESP_FAILED, VS_DATASCRIPT_EVT_HTTP_LB_DONE, VS_DATASCRIPT_EVT_TCP_CLIENT_ACCEPT, VS_DATASCRIPT_EVT_SSL_HANDSHAKE_DONE, VS_DATASCRIPT_EVT_DNS_REQ, VS_DATASCRIPT_EVT_DNS_RESP, VS_DATASCRIPT_EVT_L4_REQUEST, VS_DATASCRIPT_EVT_L4_RESPONSE, VS_DATASCRIPT_EVT_MAX. + // Event triggering execution of datascript. Enum options - VS_DATASCRIPT_EVT_HTTP_REQ, VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_REQ_DATA, VS_DATASCRIPT_EVT_HTTP_RESP_FAILED, VS_DATASCRIPT_EVT_HTTP_LB_DONE, VS_DATASCRIPT_EVT_HTTP_AUTH, VS_DATASCRIPT_EVT_HTTP_POST_AUTH, VS_DATASCRIPT_EVT_TCP_CLIENT_ACCEPT, VS_DATASCRIPT_EVT_SSL_HANDSHAKE_DONE, VS_DATASCRIPT_EVT_DNS_REQ, VS_DATASCRIPT_EVT_DNS_RESP, VS_DATASCRIPT_EVT_L4_REQUEST, VS_DATASCRIPT_EVT_L4_RESPONSE, VS_DATASCRIPT_EVT_MAX. Allowed in Basic(Allowed values- VS_DATASCRIPT_EVT_HTTP_REQ) edition, Enterprise edition. // Required: true Evt *string `json:"evt"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script_set.go b/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script_set.go index 46288677d..7b0594f60 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script_set.go +++ b/vendor/github.com/avinetworks/sdk/go/models/v_s_data_script_set.go @@ -20,10 +20,13 @@ type VSDataScriptSet struct { // User defined description for the object. Description *string `json:"description,omitempty"` + // IP reputation database that can be used by DataScript functions. It is a reference to an object of type IPReputationDB. Field introduced in 20.1.3. + IPReputationDbRef *string `json:"ip_reputation_db_ref,omitempty"` + // UUID of IP Groups that could be referred by VSDataScriptSet objects. It is a reference to an object of type IpAddrGroup. IpgroupRefs []string `json:"ipgroup_refs,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name for the virtual service datascript collection. @@ -36,10 +39,10 @@ type VSDataScriptSet struct { // UUID of pools that could be referred by VSDataScriptSet objects. It is a reference to an object of type Pool. PoolRefs []string `json:"pool_refs,omitempty"` - // List of protocol parsers that could be referred by VSDataScriptSet objects. It is a reference to an object of type ProtocolParser. Field introduced in 18.2.3. + // List of protocol parsers that could be referred by VSDataScriptSet objects. It is a reference to an object of type ProtocolParser. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. ProtocolParserRefs []string `json:"protocol_parser_refs,omitempty"` - // The Rate Limit definitions needed for this DataScript. The name is composed of the Virtual Service name and the DataScript name. Field introduced in 18.2.9. + // The Rate Limit definitions needed for this DataScript. The name is composed of the Virtual Service name and the DataScript name. Field introduced in 18.2.9. Allowed in Basic edition, Essentials edition, Enterprise edition. RateLimiters []*RateLimiter `json:"rate_limiters,omitempty"` // UUID of String Groups that could be referred by VSDataScriptSet objects. It is a reference to an object of type StringGroup. diff --git a/vendor/github.com/avinetworks/sdk/go/models/vip.go b/vendor/github.com/avinetworks/sdk/go/models/vip.go index 375ed768c..c24a1506f 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/vip.go +++ b/vendor/github.com/avinetworks/sdk/go/models/vip.go @@ -7,22 +7,22 @@ package models // swagger:model Vip type Vip struct { - // Auto-allocate floating/elastic IP from the Cloud infrastructure. Field introduced in 17.1.1. + // Auto-allocate floating/elastic IP from the Cloud infrastructure. Field introduced in 17.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AutoAllocateFloatingIP *bool `json:"auto_allocate_floating_ip,omitempty"` // Auto-allocate VIP from the provided subnet. Field introduced in 17.1.1. AutoAllocateIP *bool `json:"auto_allocate_ip,omitempty"` - // Specifies whether to auto-allocate only a V4 address, only a V6 address, or one of each type. Enum options - V4_ONLY, V6_ONLY, V4_V6. Field introduced in 18.1.1. + // Specifies whether to auto-allocate only a V4 address, only a V6 address, or one of each type. Enum options - V4_ONLY, V6_ONLY, V4_V6. Field introduced in 18.1.1. Allowed in Basic(Allowed values- V4_ONLY) edition, Essentials(Allowed values- V4_ONLY) edition, Enterprise edition. AutoAllocateIPType *string `json:"auto_allocate_ip_type,omitempty"` - // Availability-zone to place the Virtual Service. Field introduced in 17.1.1. + // Availability-zone to place the Virtual Service. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. AvailabilityZone *string `json:"availability_zone,omitempty"` - // (internal-use) FIP allocated by Avi in the Cloud infrastructure. Field introduced in 17.1.1. + // (internal-use) FIP allocated by Avi in the Cloud infrastructure. Field introduced in 17.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AviAllocatedFip *bool `json:"avi_allocated_fip,omitempty"` - // (internal-use) VIP allocated by Avi in the Cloud infrastructure. Field introduced in 17.1.1. + // (internal-use) VIP allocated by Avi in the Cloud infrastructure. Field introduced in 17.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AviAllocatedVip *bool `json:"avi_allocated_vip,omitempty"` // Discovered networks providing reachability for client facing Vip IP. Field introduced in 17.1.1. @@ -31,16 +31,16 @@ type Vip struct { // Enable or disable the Vip. Field introduced in 17.1.1. Enabled *bool `json:"enabled,omitempty"` - // Floating IPv4 to associate with this Vip. Field introduced in 17.1.1. + // Floating IPv4 to associate with this Vip. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. FloatingIP *IPAddr `json:"floating_ip,omitempty"` - // Floating IPv6 address to associate with this Vip. Field introduced in 18.1.1. + // Floating IPv6 address to associate with this Vip. Field introduced in 18.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. FloatingIp6 *IPAddr `json:"floating_ip6,omitempty"` - // If auto_allocate_floating_ip is True and more than one floating-ip subnets exist, then the subnet for the floating IPv6 address allocation. Field introduced in 18.1.1. + // If auto_allocate_floating_ip is True and more than one floating-ip subnets exist, then the subnet for the floating IPv6 address allocation. Field introduced in 18.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. FloatingSubnet6UUID *string `json:"floating_subnet6_uuid,omitempty"` - // If auto_allocate_floating_ip is True and more than one floating-ip subnets exist, then the subnet for the floating IP address allocation. Field introduced in 17.1.1. + // If auto_allocate_floating_ip is True and more than one floating-ip subnets exist, then the subnet for the floating IP address allocation. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. FloatingSubnetUUID *string `json:"floating_subnet_uuid,omitempty"` // IPv6 Address of the Vip. Field introduced in 18.1.1. @@ -55,22 +55,22 @@ type Vip struct { // Manually override the network on which the Vip is placed. It is a reference to an object of type Network. Field introduced in 17.1.1. NetworkRef *string `json:"network_ref,omitempty"` - // Placement networks/subnets to use for vip placement. Field introduced in 18.2.5. + // Placement networks/subnets to use for vip placement. Field introduced in 18.2.5. Maximum of 10 items allowed. PlacementNetworks []*VipPlacementNetwork `json:"placement_networks,omitempty"` // (internal-use) Network port assigned to the Vip IP address. Field introduced in 17.1.1. PortUUID *string `json:"port_uuid,omitempty"` - // Mask applied for the Vip, non-default mask supported only for wildcard Vip. Allowed values are 0-32. Field introduced in 20.1.1. + // Mask applied for the Vip, non-default mask supported only for wildcard Vip. Allowed values are 0-32. Field introduced in 20.1.1. Allowed in Basic(Allowed values- 32) edition, Essentials(Allowed values- 32) edition, Enterprise edition. PrefixLength *int32 `json:"prefix_length,omitempty"` // Subnet providing reachability for client facing Vip IP. Field introduced in 17.1.1. Subnet *IPAddrPrefix `json:"subnet,omitempty"` - // Subnet providing reachability for client facing Vip IPv6. Field introduced in 18.1.1. + // Subnet providing reachability for client facing Vip IPv6. Field introduced in 18.1.1. Allowed in Essentials edition, Enterprise edition. Subnet6 *IPAddrPrefix `json:"subnet6,omitempty"` - // If auto_allocate_ip is True, then the subnet for the Vip IPv6 address allocation. This field is applicable only if the VirtualService belongs to an Openstack or AWS cloud, in which case it is mandatory, if auto_allocate is selected. Field introduced in 18.1.1. + // If auto_allocate_ip is True, then the subnet for the Vip IPv6 address allocation. This field is applicable only if the VirtualService belongs to an Openstack or AWS cloud, in which case it is mandatory, if auto_allocate is selected. Field introduced in 18.1.1. Allowed in Essentials edition, Enterprise edition. Subnet6UUID *string `json:"subnet6_uuid,omitempty"` // If auto_allocate_ip is True, then the subnet for the Vip IP address allocation. This field is applicable only if the VirtualService belongs to an Openstack or AWS cloud, in which case it is mandatory, if auto_allocate is selected. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/vip_se_assigned.go b/vendor/github.com/avinetworks/sdk/go/models/vip_se_assigned.go index 4fbe45c2f..20d64c8c9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/vip_se_assigned.go +++ b/vendor/github.com/avinetworks/sdk/go/models/vip_se_assigned.go @@ -13,6 +13,12 @@ type VipSeAssigned struct { // Placeholder for description of property connected of obj type VipSeAssigned field type str type boolean Connected *bool `json:"connected,omitempty"` + // Management IPv4 address of SE. Field introduced in 20.1.3. + MgmtIP *IPAddr `json:"mgmt_ip,omitempty"` + + // Management IPv6 address of SE. Field introduced in 20.1.3. + MgmtIp6 *IPAddr `json:"mgmt_ip6,omitempty"` + // Name of the object. Name *string `json:"name,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/virtual_service.go b/vendor/github.com/avinetworks/sdk/go/models/virtual_service.go index 2c906803e..e7674c1a9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/virtual_service.go +++ b/vendor/github.com/avinetworks/sdk/go/models/virtual_service.go @@ -14,10 +14,10 @@ type VirtualService struct { // This configuration only applies if the VirtualService is in Legacy Active Standby HA mode and Load Distribution among Active Standby is enabled. This field is used to tag the VirtualService so that VirtualServices with the same tag will share the same Active ServiceEngine. VirtualServices with different tags will have different Active ServiceEngines. If one of the ServiceEngine's in the ServiceEngineGroup fails, all VirtualServices will end up using the same Active ServiceEngine. Redistribution of the VirtualServices can be either manual or automated when the failed ServiceEngine recovers. Redistribution is based on the auto redistribute property of the ServiceEngineGroup. Enum options - ACTIVE_STANDBY_SE_1, ACTIVE_STANDBY_SE_2. ActiveStandbySeTag *string `json:"active_standby_se_tag,omitempty"` - // Keep advertising Virtual Service via BGP even if it is marked down by health monitor. This setting takes effect for future Virtual Service flaps. To advertise current VSes that are down, please disable and re-enable the Virtual Service. Field introduced in 20.1.1. + // Keep advertising Virtual Service via BGP even if it is marked down by health monitor. This setting takes effect for future Virtual Service flaps. To advertise current VSes that are down, please disable and re-enable the Virtual Service. Field introduced in 20.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AdvertiseDownVs *bool `json:"advertise_down_vs,omitempty"` - // Process request even if invalid client certificate is presented. Datascript APIs need to be used for processing of such requests. Field introduced in 18.2.3. + // Process request even if invalid client certificate is presented. Datascript APIs need to be used for processing of such requests. Field introduced in 18.2.3. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. AllowInvalidClientCert *bool `json:"allow_invalid_client_cert,omitempty"` // Determines analytics settings for the application. @@ -26,10 +26,10 @@ type VirtualService struct { // Specifies settings related to analytics. It is a reference to an object of type AnalyticsProfile. AnalyticsProfileRef *string `json:"analytics_profile_ref,omitempty"` - // The name of the Contract/Graph associated with the Virtual Service. Should be in the format. This is applicable only for Service Integration mode with Cisco APIC Controller . Field introduced in 17.2.12,18.1.2. + // The name of the Contract/Graph associated with the Virtual Service. Should be in the format. This is applicable only for Service Integration mode with Cisco APIC Controller . Field introduced in 17.2.12,18.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. ApicContractGraph *string `json:"apic_contract_graph,omitempty"` - // Enable application layer specific features for the Virtual Service. It is a reference to an object of type ApplicationProfile. + // Enable application layer specific features for the Virtual Service. It is a reference to an object of type ApplicationProfile. Special default for Essentials edition is System-L4-Application. ApplicationProfileRef *string `json:"application_profile_ref,omitempty"` // Auto-allocate floating/elastic IP from the Cloud infrastructure. Field deprecated in 17.1.1. @@ -51,13 +51,13 @@ type VirtualService struct { // Read Only: true AzureAvailabilitySet *string `json:"azure_availability_set,omitempty"` - // (This is a beta feature). Sync Key-Value cache to the new SEs when VS is scaled out. For ex SSL sessions are stored using VS's Key-Value cache. When the VS is scaled out, the SSL session information is synced to the new SE, allowing existing SSL sessions to be reused on the new SE. . Field introduced in 17.2.7, 18.1.1. + // (This is a beta feature). Sync Key-Value cache to the new SEs when VS is scaled out. For ex SSL sessions are stored using VS's Key-Value cache. When the VS is scaled out, the SSL session information is synced to the new SE, allowing existing SSL sessions to be reused on the new SE. . Field introduced in 17.2.7, 18.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. BulkSyncKvcache *bool `json:"bulk_sync_kvcache,omitempty"` // HTTP authentication configuration for protected resources. ClientAuth *HTTPClientAuthenticationParams `json:"client_auth,omitempty"` - // close client connection on vs config update. Field introduced in 17.2.4. + // close client connection on vs config update. Field introduced in 17.2.4. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. CloseClientConnOnConfigUpdate *bool `json:"close_client_conn_on_config_update,omitempty"` // Checksum of cloud configuration for VS. Internally set by cloud connector. @@ -66,7 +66,7 @@ type VirtualService struct { // It is a reference to an object of type Cloud. CloudRef *string `json:"cloud_ref,omitempty"` - // Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. + // Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. Allowed in Basic(Allowed values- CLOUD_NONE,COUD_NSXT) edition, Essentials(Allowed values- CLOUD_NONE,CLOUD_VCENTER) edition, Enterprise edition. CloudType *string `json:"cloud_type,omitempty"` // Rate limit the incoming connections to this virtual service. @@ -78,7 +78,7 @@ type VirtualService struct { // Creator name. CreatedBy *string `json:"created_by,omitempty"` - // Select the algorithm for QoS fairness. This determines how multiple Virtual Services sharing the same Service Engines will prioritize traffic over a congested network. + // Select the algorithm for QoS fairness. This determines how multiple Virtual Services sharing the same Service Engines will prioritize traffic over a congested network. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. DelayFairness *bool `json:"delay_fairness,omitempty"` // User defined description for the object. @@ -93,16 +93,16 @@ type VirtualService struct { // (internal-use) Discovered subnets providing reachability for client facing Virtual Service IP. This field is deprecated. Field deprecated in 17.1.1. DiscoveredSubnet []*IPAddrPrefix `json:"discovered_subnet,omitempty"` - // Service discovery specific data including fully qualified domain name, type and Time-To-Live of the DNS record. Note that only one of fqdn and dns_info setting is allowed. + // Service discovery specific data including fully qualified domain name, type and Time-To-Live of the DNS record. Note that only one of fqdn and dns_info setting is allowed. Maximum of 1000 items allowed. DNSInfo []*DNSInfo `json:"dns_info,omitempty"` - // DNS Policies applied on the dns traffic of the Virtual Service. Field introduced in 17.1.1. + // DNS Policies applied on the dns traffic of the Virtual Service. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. DNSPolicies []*DNSPolicies `json:"dns_policies,omitempty"` - // Force placement on all SE's in service group (Mesos mode only). + // Force placement on all SE's in service group (Mesos mode only). Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EastWestPlacement *bool `json:"east_west_placement,omitempty"` - // Response traffic to clients will be sent back to the source MAC address of the connection, rather than statically sent to a default gateway. + // Response traffic to clients will be sent back to the source MAC address of the connection, rather than statically sent to a default gateway. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. Special default for Basic edition is false, Essentials edition is false, Enterprise is True. EnableAutogw *bool `json:"enable_autogw,omitempty"` // Enable Route Health Injection using the BGP Config in the vrf context. @@ -114,7 +114,7 @@ type VirtualService struct { // Enable or disable the Virtual Service. Enabled *bool `json:"enabled,omitempty"` - // Error Page Profile to be used for this virtualservice.This profile is used to send the custom error page to the client generated by the proxy. It is a reference to an object of type ErrorPageProfile. Field introduced in 17.2.4. + // Error Page Profile to be used for this virtualservice.This profile is used to send the custom error page to the client generated by the proxy. It is a reference to an object of type ErrorPageProfile. Field introduced in 17.2.4. Allowed in Basic edition, Essentials edition, Enterprise edition. ErrorPageProfileRef *string `json:"error_page_profile_ref,omitempty"` // Floating IP to associate with this Virtual Service. Field deprecated in 17.1.1. @@ -123,7 +123,7 @@ type VirtualService struct { // If auto_allocate_floating_ip is True and more than one floating-ip subnets exist, then the subnet for the floating IP address allocation. This field is applicable only if the VirtualService belongs to an OpenStack or AWS cloud. In OpenStack or AWS cloud it is required when auto_allocate_floating_ip is selected. Field deprecated in 17.1.1. FloatingSubnetUUID *string `json:"floating_subnet_uuid,omitempty"` - // Criteria for flow distribution among SEs. Enum options - LOAD_AWARE, CONSISTENT_HASH_SOURCE_IP_ADDRESS, CONSISTENT_HASH_SOURCE_IP_ADDRESS_AND_PORT. + // Criteria for flow distribution among SEs. Enum options - LOAD_AWARE, CONSISTENT_HASH_SOURCE_IP_ADDRESS, CONSISTENT_HASH_SOURCE_IP_ADDRESS_AND_PORT. Allowed in Basic(Allowed values- LOAD_AWARE) edition, Essentials(Allowed values- LOAD_AWARE) edition, Enterprise edition. FlowDist *string `json:"flow_dist,omitempty"` // Criteria for flow labelling. Enum options - NO_LABEL, APPLICATION_LABEL, SERVICE_LABEL. @@ -138,7 +138,7 @@ type VirtualService struct { // HTTP Policies applied on the data traffic of the Virtual Service. HTTPPolicies []*HTTPPolicies `json:"http_policies,omitempty"` - // The config settings for the ICAP server when checking the HTTP request. It is a reference to an object of type IcapProfile. Field introduced in 20.1.1. + // The config settings for the ICAP server when checking the HTTP request. It is a reference to an object of type IcapProfile. Field introduced in 20.1.1. Maximum of 1 items allowed. Allowed in Basic edition, Essentials edition, Enterprise edition. IcapRequestProfileRefs []string `json:"icap_request_profile_refs,omitempty"` // Ignore Pool servers network reachability constraints for Virtual Service placement. @@ -150,10 +150,13 @@ type VirtualService struct { // Subnet and/or Network for allocating VirtualService IP by IPAM Provider module. Field deprecated in 17.1.1. IPAMNetworkSubnet *IPNetworkSubnet `json:"ipam_network_subnet,omitempty"` + // Application-specific config for JWT validation. Field introduced in 20.1.3. + JwtConfig *JWTValidationVsConfig `json:"jwt_config,omitempty"` + // L4 Policies applied to the data traffic of the Virtual Service. Field introduced in 17.2.7. L4Policies []*L4Policies `json:"l4_policies,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Limit potential DoS attackers who exceed max_cps_per_client significantly to a fraction of max_cps_per_client for a while. @@ -172,7 +175,7 @@ type VirtualService struct { // Required: true Name *string `json:"name"` - // Determines network settings such as protocol, TCP or UDP, and related options for the protocol. It is a reference to an object of type NetworkProfile. + // Determines network settings such as protocol, TCP or UDP, and related options for the protocol. It is a reference to an object of type NetworkProfile. Special default for Essentials edition is System-TCP-Fast-Path. NetworkProfileRef *string `json:"network_profile_ref,omitempty"` // Manually override the network on which the Virtual Service is placed. It is a reference to an object of type Network. Field deprecated in 17.1.1. @@ -202,7 +205,7 @@ type VirtualService struct { // Rate limit the incoming requests to this virtual service. RequestsRateLimit *RateProfile `json:"requests_rate_limit,omitempty"` - // Application-specific SAML config. Field introduced in 18.2.3. + // Application-specific SAML config. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. SamlSpConfig *SAMLSPConfig `json:"saml_sp_config,omitempty"` // Disable re-distribution of flows across service engines for a virtual service. Enable if the network itself performs flow hashing with ECMP in environments such as GCP. @@ -211,7 +214,7 @@ type VirtualService struct { // The Service Engine Group to use for this Virtual Service. Moving to a new SE Group is disruptive to existing connections for this VS. It is a reference to an object of type ServiceEngineGroup. SeGroupRef *string `json:"se_group_ref,omitempty"` - // Security policy applied on the traffic of the Virtual Service. This policy is used to perform security actions such as Distributed Denial of Service (DDoS) attack mitigation, etc. It is a reference to an object of type SecurityPolicy. Field introduced in 18.2.1. + // Security policy applied on the traffic of the Virtual Service. This policy is used to perform security actions such as Distributed Denial of Service (DDoS) attack mitigation, etc. It is a reference to an object of type SecurityPolicy. Field introduced in 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. SecurityPolicyRef *string `json:"security_policy_ref,omitempty"` // Determines the network settings profile for the server side of TCP proxied connections. Leave blank to use the same settings as the client to VS side of the connection. It is a reference to an object of type NetworkProfile. @@ -223,13 +226,13 @@ type VirtualService struct { // Select pool based on destination port. ServicePoolSelect []*ServicePoolSelector `json:"service_pool_select,omitempty"` - // List of Services defined for this Virtual Service. + // List of Services defined for this Virtual Service. Maximum of 2048 items allowed. Services []*Service `json:"services,omitempty"` // Sideband configuration to be used for this virtualservice.It can be used for sending traffic to sideband VIPs for external inspection etc. SidebandProfile *SidebandProfile `json:"sideband_profile,omitempty"` - // NAT'ted floating source IP Address(es) for upstream connection to servers. + // NAT'ted floating source IP Address(es) for upstream connection to servers. Maximum of 32 items allowed. SnatIP []*IPAddr `json:"snat_ip,omitempty"` // GSLB pools used to manage site-persistence functionality. Each site-persistence pool contains the virtualservices in all the other sites, that is auto-generated by the GSLB manager. This is a read-only field for the user. It is a reference to an object of type Pool. Field introduced in 17.2.2. @@ -242,19 +245,19 @@ type VirtualService struct { // Determines the set of SSL versions and ciphers to accept for SSL/TLS terminated connections. It is a reference to an object of type SSLProfile. SslProfileRef *string `json:"ssl_profile_ref,omitempty"` - // Select SSL Profile based on client IP address match. Field introduced in 18.2.3. + // Select SSL Profile based on client IP address match. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. SslProfileSelectors []*SSLProfileSelector `json:"ssl_profile_selectors,omitempty"` // Expected number of SSL session cache entries (may be exceeded). Allowed values are 1024-16383. SslSessCacheAvgSize *int32 `json:"ssl_sess_cache_avg_size,omitempty"` - // Client Authentication and Authorization Policy for the virtualservice. Field deprecated in 18.2.3. Field introduced in 18.2.1. + // Client Authentication and Authorization Policy for the virtualservice. Field deprecated in 18.2.3. Field introduced in 18.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. SsoPolicy *SSOPolicy `json:"sso_policy,omitempty"` - // The SSO Policy attached to the virtualservice. It is a reference to an object of type SSOPolicy. Field introduced in 18.2.3. + // The SSO Policy attached to the virtualservice. It is a reference to an object of type SSOPolicy. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. SsoPolicyRef *string `json:"sso_policy_ref,omitempty"` - // List of static DNS records applied to this Virtual Service. These are static entries and no health monitoring is performed against the IP addresses. + // List of static DNS records applied to this Virtual Service. These are static entries and no health monitoring is performed against the IP addresses. Maximum of 1000 items allowed. StaticDNSRecords []*DNSRecord `json:"static_dns_records,omitempty"` // Subnet providing reachability for client facing Virtual Service IP. Field deprecated in 17.1.1. @@ -269,26 +272,26 @@ type VirtualService struct { // Used for testing SE Datastore Upgrade 2.0 functionality. It is a reference to an object of type TestSeDatastoreLevel1. Field introduced in 18.2.6. TestSeDatastoreLevel1Ref *string `json:"test_se_datastore_level_1_ref,omitempty"` - // Topology Policies applied on the dns traffic of the Virtual Service based onGSLB Topology algorithm. Field introduced in 18.2.3. + // Topology Policies applied on the dns traffic of the Virtual Service based onGSLB Topology algorithm. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. TopologyPolicies []*DNSPolicies `json:"topology_policies,omitempty"` - // Server network or list of servers for cloning traffic. It is a reference to an object of type TrafficCloneProfile. Field introduced in 17.1.1. + // Server network or list of servers for cloning traffic. It is a reference to an object of type TrafficCloneProfile. Field introduced in 17.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. TrafficCloneProfileRef *string `json:"traffic_clone_profile_ref,omitempty"` // Knob to enable the Virtual Service traffic on its assigned service engines. This setting is effective only when the enabled flag is set to True. Field introduced in 17.2.8. TrafficEnabled *bool `json:"traffic_enabled,omitempty"` - // Specify if this is a normal Virtual Service, or if it is the parent or child of an SNI-enabled virtual hosted Virtual Service. Enum options - VS_TYPE_NORMAL, VS_TYPE_VH_PARENT, VS_TYPE_VH_CHILD. + // Specify if this is a normal Virtual Service, or if it is the parent or child of an SNI-enabled virtual hosted Virtual Service. Enum options - VS_TYPE_NORMAL, VS_TYPE_VH_PARENT, VS_TYPE_VH_CHILD. Allowed in Basic(Allowed values- VS_TYPE_NORMAL) edition, Essentials(Allowed values- VS_TYPE_NORMAL) edition, Enterprise edition. Type *string `json:"type,omitempty"` // url // Read Only: true URL *string `json:"url,omitempty"` - // Use Bridge IP as VIP on each Host in Mesos deployments. + // Use Bridge IP as VIP on each Host in Mesos deployments. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. UseBridgeIPAsVip *bool `json:"use_bridge_ip_as_vip,omitempty"` - // Use the Virtual IP as the SNAT IP for health monitoring and sending traffic to the backend servers instead of the Service Engine interface IP. The caveat of enabling this option is that the VirtualService cannot be configued in an Active-Active HA mode. DNS based Multi VIP solution has to be used for HA & Non-disruptive Upgrade purposes. Field introduced in 17.1.9,17.2.3. + // Use the Virtual IP as the SNAT IP for health monitoring and sending traffic to the backend servers instead of the Service Engine interface IP. The caveat of enabling this option is that the VirtualService cannot be configued in an Active-Active HA mode. DNS based Multi VIP solution has to be used for HA & Non-disruptive Upgrade purposes. Field introduced in 17.1.9,17.2.3. Allowed in Essentials(Allowed values- false) edition, Enterprise edition. UseVipAsSnat *bool `json:"use_vip_as_snat,omitempty"` // UUID of the VirtualService. @@ -297,9 +300,15 @@ type VirtualService struct { // The exact name requested from the client's SNI-enabled TLS hello domain name field. If this is a match, the parent VS will forward the connection to this child VS. VhDomainName []string `json:"vh_domain_name,omitempty"` + // Host and path match criteria to select this child VS. Field introduced in 20.1.3. + VhMatches []*VHMatch `json:"vh_matches,omitempty"` + // Specifies the Virtual Service acting as Virtual Hosting (SNI) parent. VhParentVsUUID *string `json:"vh_parent_vs_uuid,omitempty"` + // Specify if the Virtual Hosting VS is of type SNI or Enhanced. Enum options - VS_TYPE_VH_SNI, VS_TYPE_VH_ENHANCED. Field introduced in 20.1.3. + VhType *string `json:"vh_type,omitempty"` + // List of Virtual Service IPs. While creating a 'Shared VS',please use vsvip_ref to point to the shared entities. Field introduced in 17.1.1. Vip []*Vip `json:"vip,omitempty"` @@ -315,9 +324,9 @@ type VirtualService struct { // Mostly used during the creation of Shared VS, this field refers to entities that can be shared across Virtual Services. It is a reference to an object of type VsVip. Field introduced in 17.1.1. VsvipRef *string `json:"vsvip_ref,omitempty"` - // WAF policy for the Virtual Service. It is a reference to an object of type WafPolicy. Field introduced in 17.2.1. + // WAF policy for the Virtual Service. It is a reference to an object of type WafPolicy. Field introduced in 17.2.1. Allowed in Basic edition, Essentials edition, Enterprise edition. WafPolicyRef *string `json:"waf_policy_ref,omitempty"` - // The Quality of Service weight to assign to traffic transmitted from this Virtual Service. A higher weight will prioritize traffic versus other Virtual Services sharing the same Service Engines. Allowed values are 1-128. + // The Quality of Service weight to assign to traffic transmitted from this Virtual Service. A higher weight will prioritize traffic versus other Virtual Services sharing the same Service Engines. Allowed values are 1-128. Allowed in Basic(Allowed values- 1) edition, Essentials(Allowed values- 1) edition, Enterprise edition. Weight *int32 `json:"weight,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/vrf_context.go b/vendor/github.com/avinetworks/sdk/go/models/vrf_context.go index a6f02abb2..024d86014 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/vrf_context.go +++ b/vendor/github.com/avinetworks/sdk/go/models/vrf_context.go @@ -11,7 +11,10 @@ type VrfContext struct { // Read Only: true LastModified *string `json:"_last_modified,omitempty"` - // BFD configuration profile. Field introduced in 20.1.1. + // Key/value vrfcontext attributes. Field introduced in 20.1.2. Allowed in Basic edition, Essentials edition, Enterprise edition. + Attrs []*KeyValue `json:"attrs,omitempty"` + + // BFD configuration profile. Field introduced in 20.1.1. Allowed in Basic edition, Essentials edition, Enterprise edition. BfdProfile *BfdProfile `json:"bfd_profile,omitempty"` // Bgp Local and Peer Info. @@ -26,7 +29,7 @@ type VrfContext struct { // User defined description for the object. Description *string `json:"description,omitempty"` - // Configure ping based heartbeat check for gateway in service engines of vrf. + // Configure ping based heartbeat check for gateway in service engines of vrf. Maximum of 32 items allowed. GatewayMon []*GatewayMonitor `json:"gateway_mon,omitempty"` // Configure ping based heartbeat check for all default gateways in service engines of vrf. Field introduced in 17.1.1. @@ -35,7 +38,7 @@ type VrfContext struct { // Key/value labels which can be used for Object Access Policy permission scoping. Field introduced in 18.2.7, 20.1.1. Labels []*KeyValue `json:"labels,omitempty"` - // Enable LLDP. Field introduced in 18.2.10, 20.1.1. + // Enable LLDP. Field introduced in 18.2.10, 20.1.1. Allowed in Basic(Allowed values- true) edition, Essentials(Allowed values- true) edition, Enterprise edition. LldpEnable *bool `json:"lldp_enable,omitempty"` // Name of the object. diff --git a/vendor/github.com/avinetworks/sdk/go/models/vs_vip.go b/vendor/github.com/avinetworks/sdk/go/models/vs_vip.go index 326171101..bf2fb2c8b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/vs_vip.go +++ b/vendor/github.com/avinetworks/sdk/go/models/vs_vip.go @@ -14,13 +14,16 @@ type VsVip struct { // It is a reference to an object of type Cloud. Field introduced in 17.1.1. CloudRef *string `json:"cloud_ref,omitempty"` - // Service discovery specific data including fully qualified domain name, type and Time-To-Live of the DNS record. Field introduced in 17.1.1. + // Service discovery specific data including fully qualified domain name, type and Time-To-Live of the DNS record. Field introduced in 17.1.1. Maximum of 1000 items allowed. Allowed in Basic edition, Essentials edition, Enterprise edition. DNSInfo []*DNSInfo `json:"dns_info,omitempty"` - // Force placement on all Service Engines in the Service Engine Group (Container clouds only). Field introduced in 17.1.1. + // Force placement on all Service Engines in the Service Engine Group (Container clouds only). Field introduced in 17.1.1. Allowed in Basic(Allowed values- false) edition, Essentials(Allowed values- false) edition, Enterprise edition. EastWestPlacement *bool `json:"east_west_placement,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Determines the set of IPAM networks to use for this VsVip. Selector type must be SELECTOR_IPAM and only one label is supported. Field introduced in 20.1.3. + IPAMSelector *Selector `json:"ipam_selector,omitempty"` + + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Name for the VsVip object. Field introduced in 17.1.1. @@ -37,7 +40,7 @@ type VsVip struct { // Read Only: true URL *string `json:"url,omitempty"` - // This overrides the cloud level default and needs to match the SE Group value in which it will be used if the SE Group use_standard_alb value is set. This is only used when FIP is used for VS on Azure Cloud. Field introduced in 18.2.3. + // This overrides the cloud level default and needs to match the SE Group value in which it will be used if the SE Group use_standard_alb value is set. This is only used when FIP is used for VS on Azure Cloud. Field introduced in 18.2.3. Allowed in Basic edition, Essentials edition, Enterprise edition. UseStandardAlb *bool `json:"use_standard_alb,omitempty"` // UUID of the VsVip object. Field introduced in 17.1.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/vserver_l4_metrics_obj.go b/vendor/github.com/avinetworks/sdk/go/models/vserver_l4_metrics_obj.go index 10c0d777b..7c4ae2f05 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/vserver_l4_metrics_obj.go +++ b/vendor/github.com/avinetworks/sdk/go/models/vserver_l4_metrics_obj.go @@ -139,6 +139,9 @@ type VserverL4MetricsObj struct { // Rate of total errored connections per second. AvgErroredConnections *float64 `json:"avg_errored_connections,omitempty"` + // Average rate of SYN DDoS attacks on Virtual Service. + AvgHalfOpenConns *float64 `json:"avg_half_open_conns,omitempty"` + // Average L4 connection duration which does not include client RTT. AvgL4ClientLatency *float64 `json:"avg_l4_client_latency,omitempty"` @@ -172,6 +175,9 @@ type VserverL4MetricsObj struct { // Average rate of received packets dropped per second. AvgRxPktsDropped *float64 `json:"avg_rx_pkts_dropped,omitempty"` + // Average rate of SYN DDoS attacks on Virtual Service. + AvgSynAttacks *float64 `json:"avg_syn_attacks,omitempty"` + // Total syncs sent across all connections. AvgSyns *float64 `json:"avg_syns,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_allowlist_log.go b/vendor/github.com/avinetworks/sdk/go/models/waf_allowlist_log.go new file mode 100644 index 000000000..acd4c2896 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_allowlist_log.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// WafAllowlistLog waf allowlist log +// swagger:model WafAllowlistLog +type WafAllowlistLog struct { + + // Actions generated by this rule. Enum options - WAF_POLICY_ALLOWLIST_ACTION_BYPASS, WAF_POLICY_ALLOWLIST_ACTION_DETECTION_MODE, WAF_POLICY_ALLOWLIST_ACTION_CONTINUE. Field introduced in 20.1.3. + Actions []string `json:"actions,omitempty"` + + // Name of the matched rule. Field introduced in 20.1.3. + RuleName *string `json:"rule_name,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_app_version.go b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_app_version.go index b0e915f34..6292872b8 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_app_version.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_app_version.go @@ -14,4 +14,8 @@ type WafApplicationSignatureAppVersion struct { // The last version of the rule set when the rules corresponding to the application changed. Field introduced in 20.1.1. // Read Only: true LastChangedRulesetVersion *string `json:"last_changed_ruleset_version,omitempty"` + + // The number of rules available for this application. Field introduced in 20.1.3. + // Read Only: true + NumberOfRules *int32 `json:"number_of_rules,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_provider.go b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_provider.go index 6f9e5c08a..0521de7d7 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_provider.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signature_provider.go @@ -15,15 +15,15 @@ type WafApplicationSignatureProvider struct { // Read Only: true AvailableApplications []*WafApplicationSignatureAppVersion `json:"available_applications,omitempty"` - // The error message indicating why the last update check failed. Field introduced in 20.1.1. + // The error message indicating why the last update check failed. Field deprecated in 20.1.3. Field introduced in 20.1.1. // Read Only: true LastCheckForUpdatesError *string `json:"last_check_for_updates_error,omitempty"` - // The last time that we checked for updates but did not get a result because of an error. Field introduced in 20.1.1. + // The last time that we checked for updates but did not get a result because of an error. Field deprecated in 20.1.3. Field introduced in 20.1.1. // Read Only: true LastFailedCheckForUpdates *TimeStamp `json:"last_failed_check_for_updates,omitempty"` - // The last time that we checked for updates sucessfully. Field introduced in 20.1.1. + // The last time that we checked for updates sucessfully. Field deprecated in 20.1.3. Field introduced in 20.1.1. // Read Only: true LastSuccessfulCheckForUpdates *TimeStamp `json:"last_successful_check_for_updates,omitempty"` @@ -34,6 +34,9 @@ type WafApplicationSignatureProvider struct { // Read Only: true RulesetVersion *string `json:"ruleset_version,omitempty"` + // If this object is managed by the Application Signatures update service, this field contain the status of this syncronization. Field introduced in 20.1.3. + ServiceStatus *WebApplicationSignatureServiceStatus `json:"service_status,omitempty"` + // The WAF rules. Not visible in the API. Field introduced in 20.1.1. // Read Only: true Signatures []*WafRule `json:"signatures,omitempty"` diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signatures.go b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signatures.go index ba2f8318a..bd2cee581 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_application_signatures.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_application_signatures.go @@ -18,6 +18,6 @@ type WafApplicationSignatures struct { // Read Only: true RulesetVersion *string `json:"ruleset_version,omitempty"` - // List of applications for which we use the rules from the WafApplicationSignatureProvider. Field introduced in 20.1.1. + // List of applications for which we use the rules from the WafApplicationSignatureProvider. Field introduced in 20.1.1. Maximum of 8 items allowed. SelectedApplications []string `json:"selected_applications,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_c_r_s.go b/vendor/github.com/avinetworks/sdk/go/models/waf_c_r_s.go index 09b42d0e5..dd9829fb3 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_c_r_s.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_c_r_s.go @@ -15,7 +15,7 @@ type WafCRS struct { // Required: true Description *string `json:"description"` - // WAF Rules are sorted in groups based on their characterization. Field introduced in 18.1.1. + // WAF Rules are sorted in groups based on their characterization. Field introduced in 18.1.1. Maximum of 64 items allowed. Groups []*WafRuleGroup `json:"groups,omitempty"` // Integrity protection value. Field introduced in 18.2.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_config.go b/vendor/github.com/avinetworks/sdk/go/models/waf_config.go index 45e3ce176..826c301cf 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_config.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_config.go @@ -7,13 +7,13 @@ package models // swagger:model WafConfig type WafConfig struct { - // WAF allowed HTTP Versions. Enum options - ZERO_NINE, ONE_ZERO, ONE_ONE, TWO_ZERO. Field introduced in 17.2.1. + // WAF allowed HTTP Versions. Enum options - ZERO_NINE, ONE_ZERO, ONE_ONE, TWO_ZERO. Field introduced in 17.2.1. Maximum of 8 items allowed. AllowedHTTPVersions []string `json:"allowed_http_versions,omitempty"` // WAF allowed HTTP methods. Enum options - HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_PUT, HTTP_METHOD_DELETE, HTTP_METHOD_POST, HTTP_METHOD_OPTIONS, HTTP_METHOD_TRACE, HTTP_METHOD_CONNECT, HTTP_METHOD_PATCH, HTTP_METHOD_PROPFIND, HTTP_METHOD_PROPPATCH, HTTP_METHOD_MKCOL, HTTP_METHOD_COPY, HTTP_METHOD_MOVE, HTTP_METHOD_LOCK, HTTP_METHOD_UNLOCK. Field introduced in 17.2.1. AllowedMethods []string `json:"allowed_methods,omitempty"` - // WAF allowed Content Types. Field introduced in 17.2.1. + // WAF allowed Content Types. Field introduced in 17.2.1. Maximum of 64 items allowed. AllowedRequestContentTypes []string `json:"allowed_request_content_types,omitempty"` // Argument seperator. Field introduced in 17.2.1. @@ -74,21 +74,27 @@ type WafConfig struct { // Required: true ResponseHdrDefaultAction *string `json:"response_hdr_default_action"` - // WAF Restricted File Extensions. Field introduced in 17.2.1. + // WAF Restricted File Extensions. Field introduced in 17.2.1. Maximum of 256 items allowed. RestrictedExtensions []string `json:"restricted_extensions,omitempty"` - // WAF Restricted HTTP Headers. Field introduced in 17.2.1. + // WAF Restricted HTTP Headers. Field introduced in 17.2.1. Maximum of 64 items allowed. RestrictedHeaders []string `json:"restricted_headers,omitempty"` + // Whether or not to send WAF status in a request header to pool servers. Field introduced in 20.1.3. + SendStatusHeader *bool `json:"send_status_header,omitempty"` + // Maximum size for response body scanned by WAF. Allowed values are 1-32768. Field introduced in 17.2.1. Unit is KB. ServerResponseMaxBodySize *int32 `json:"server_response_max_body_size,omitempty"` - // WAF Static File Extensions. GET and HEAD requests with no query args and one of these extensions are whitelisted and not checked by the ruleset. Field introduced in 17.2.5. + // WAF Static File Extensions. GET and HEAD requests with no query args and one of these extensions are allowed and not checked by the ruleset. Field introduced in 17.2.5. Maximum of 64 items allowed. StaticExtensions []string `json:"static_extensions,omitempty"` // HTTP status code used by WAF Positive Security Model when rejecting a request. Enum options - HTTP_RESPONSE_CODE_0, HTTP_RESPONSE_CODE_100, HTTP_RESPONSE_CODE_101, HTTP_RESPONSE_CODE_200, HTTP_RESPONSE_CODE_201, HTTP_RESPONSE_CODE_202, HTTP_RESPONSE_CODE_203, HTTP_RESPONSE_CODE_204, HTTP_RESPONSE_CODE_205, HTTP_RESPONSE_CODE_206, HTTP_RESPONSE_CODE_300, HTTP_RESPONSE_CODE_301, HTTP_RESPONSE_CODE_302, HTTP_RESPONSE_CODE_303, HTTP_RESPONSE_CODE_304, HTTP_RESPONSE_CODE_305, HTTP_RESPONSE_CODE_307, HTTP_RESPONSE_CODE_400, HTTP_RESPONSE_CODE_401, HTTP_RESPONSE_CODE_402.... Field introduced in 18.2.3. StatusCodeForRejectedRequests *string `json:"status_code_for_rejected_requests,omitempty"` + // The name of the request header indicating WAF evaluation status to pool servers. Field introduced in 20.1.3. + StatusHeaderName *string `json:"status_header_name,omitempty"` + // Block or flag XML requests referring to External Entities. Field introduced in 20.1.1. XMLXxeProtection *bool `json:"xml_xxe_protection,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_log.go b/vendor/github.com/avinetworks/sdk/go/models/waf_log.go index ef3c211c6..8e48186f9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_log.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_log.go @@ -7,15 +7,27 @@ package models // swagger:model WafLog type WafLog struct { + // Set to true if there are allowlist rules in the policy. Field introduced in 20.1.3. + AllowlistConfigured *bool `json:"allowlist_configured,omitempty"` + + // Log Entries generated by WAF allowlist rules. Field introduced in 20.1.3. + AllowlistLogs []*WafAllowlistLog `json:"allowlist_logs,omitempty"` + + // Set to true if allowlist rules were processed. Field introduced in 20.1.3. + AllowlistProcessed *bool `json:"allowlist_processed,omitempty"` + // Log Entries generated by Application Specific Signature rules. Field introduced in 20.1.1. ApplicationRuleLogs []*WafRuleLog `json:"application_rule_logs,omitempty"` // Set to true if there are Application Specific Signature rules in the policy. Field introduced in 20.1.1. ApplicationRulesConfigured *bool `json:"application_rules_configured,omitempty"` - // Set to true if Application Specific Signature rules were executed. Field introduced in 20.1.1. + // Set to true if Application Specific Signature rules were executed. Field deprecated in 20.1.3. Field introduced in 20.1.1. ApplicationRulesExecuted *bool `json:"application_rules_executed,omitempty"` + // Set to true if Application Specific Signature rules were processed. Field introduced in 20.1.3. + ApplicationRulesProcessed *bool `json:"application_rules_processed,omitempty"` + // Latency (in microseconds) in WAF Request Body Phase. Field introduced in 17.2.2. LatencyRequestBodyPhase *int64 `json:"latency_request_body_phase,omitempty"` @@ -31,30 +43,36 @@ type WafLog struct { // Set to true if there are Positive Security Model rules in the policy. Field introduced in 18.2.3. PsmConfigured *bool `json:"psm_configured,omitempty"` - // Set to true if Positive Security Model rules were executed. Field introduced in 18.2.3. + // Set to true if Positive Security Model rules were executed. Field deprecated in 20.1.3. Field introduced in 18.2.3. PsmExecuted *bool `json:"psm_executed,omitempty"` // Log Entries generated by WAF Positive Security Model. Field introduced in 18.2.3. PsmLogs []*WafPSMLog `json:"psm_logs,omitempty"` + // Set to true if Positive Security Model rules were processed. Field introduced in 20.1.3. + PsmProcessed *bool `json:"psm_processed,omitempty"` + // Field introduced in 17.2.1. RuleLogs []*WafRuleLog `json:"rule_logs,omitempty"` // Set to true if there are ModSecurity rules in the policy. Field introduced in 18.2.3. RulesConfigured *bool `json:"rules_configured,omitempty"` - // Set to true if ModSecurity rules were executed. Field introduced in 18.2.3. + // Set to true if ModSecurity rules were executed. Field deprecated in 20.1.3. Field introduced in 18.2.3. RulesExecuted *bool `json:"rules_executed,omitempty"` - // Denotes whether WAF is running in detection mode or enforcement mode, whether any rules matched the transaction, and whether transaction is dropped by the WAF module. Enum options - NO_WAF, FLAGGED, PASSED, REJECTED, WHITELISTED. Field introduced in 17.2.2. + // Set to true if ModSecurity rules were processed. Field introduced in 20.1.3. + RulesProcessed *bool `json:"rules_processed,omitempty"` + + // Denotes whether WAF is running in detection mode or enforcement mode, whether any rules matched the transaction, and whether transaction is dropped by the WAF module. Enum options - NO_WAF, FLAGGED, PASSED, REJECTED, WHITELISTED, BYPASSED. Field introduced in 17.2.2. Status *string `json:"status,omitempty"` - // Set to true if there are whitelist rules in the policy. Field introduced in 18.2.3. + // Set to true if there are whitelist rules in the policy. Field deprecated in 20.1.3. Field introduced in 18.2.3. WhitelistConfigured *bool `json:"whitelist_configured,omitempty"` - // Set to true if whitelist rules were executed. Field introduced in 18.2.3. + // Set to true if whitelist rules were executed. Field deprecated in 20.1.3. Field introduced in 18.2.3. WhitelistExecuted *bool `json:"whitelist_executed,omitempty"` - // Log Entries generated by WAF whitelist rules. Field introduced in 18.2.3. + // Log Entries generated by WAF whitelist rules. Field deprecated in 20.1.3. Field introduced in 18.2.3. WhitelistLogs []*WafWhitelistLog `json:"whitelist_logs,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_location.go b/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_location.go index 2ea5e2c8c..5587bddee 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_location.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_location.go @@ -21,6 +21,6 @@ type WafPSMLocation struct { // Required: true Name *string `json:"name"` - // A list of rules which should be applied on this location. Field introduced in 18.2.3. + // A list of rules which should be applied on this location. Field introduced in 18.2.3. Maximum of 1024 items allowed. Rules []*WafPSMRule `json:"rules,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_rule.go b/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_rule.go index f62a9a7f3..e249c1349 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_p_s_m_rule.go @@ -20,20 +20,19 @@ type WafPSMRule struct { // The field match_value_pattern regular expression is case sensitive. Enum options - SENSITIVE, INSENSITIVE. Field introduced in 18.2.3. MatchCase *string `json:"match_case,omitempty"` - // The match elements, for example ARGS id or ARGS|!ARGS password. Field introduced in 18.2.3. + // The match elements, for example ARGS id or ARGS|!ARGS password. Field introduced in 18.2.3. Maximum of 64 items allowed. MatchElements []*WafPSMMatchElement `json:"match_elements,omitempty"` // The maximum allowed length of the match_value. If this is not set, the length will not be checked. Field introduced in 18.2.3. MatchValueMaxLength *int32 `json:"match_value_max_length,omitempty"` // A regular expression which describes the expected value. Field introduced in 18.2.3. - // Required: true - MatchValuePattern *string `json:"match_value_pattern"` + MatchValuePattern *string `json:"match_value_pattern,omitempty"` - // If match_value_string_group_uuid and match_value_string_group_key are set, the referenced regular expression is used as match_value_pattern. Field introduced in 20.2.1. + // If match_value_string_group_uuid and match_value_string_group_key are set, the referenced regular expression is used as match_value_pattern. Field introduced in 20.1.3. MatchValueStringGroupKey *string `json:"match_value_string_group_key,omitempty"` - // The UUID of a *string group containing key used in match_value_string_group_key. It is a reference to an object of type StringGroup. Field introduced in 20.2.1. + // The UUID of a *string group containing key used in match_value_string_group_key. It is a reference to an object of type StringGroup. Field introduced in 20.1.3. MatchValueStringGroupRef *string `json:"match_value_string_group_ref,omitempty"` // WAF Rule mode. This can be detection or enforcement. If this is not set, the Policy mode is used. This only takes effect if the policy allows delegation. Enum options - WAF_MODE_DETECTION_ONLY, WAF_MODE_ENFORCEMENT. Field introduced in 18.2.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy.go index f5a7b27a2..11d418c6b 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_policy.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy.go @@ -14,6 +14,9 @@ type WafPolicy struct { // Allow Rules to overwrite the policy mode. This must be set if the policy mode is set to enforcement. Field introduced in 18.1.5, 18.2.1. AllowModeDelegation *bool `json:"allow_mode_delegation,omitempty"` + // A set of rules which describe conditions under which the request will bypass the WAF. This will be processed in the request header phase before any other WAF related code. Field introduced in 20.1.3. + Allowlist *WafPolicyAllowlist `json:"allowlist,omitempty"` + // Application Specific Signatures. Field introduced in 20.1.1. ApplicationSignatures *WafApplicationSignatures `json:"application_signatures,omitempty"` @@ -41,7 +44,7 @@ type WafPolicy struct { // WAF Policy failure mode. This can be 'Open' or 'Closed'. Enum options - WAF_FAILURE_MODE_OPEN, WAF_FAILURE_MODE_CLOSED. Field introduced in 18.1.2. FailureMode *string `json:"failure_mode,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Configure parameters for WAF learning. Field deprecated in 18.2.3. Field introduced in 18.1.2. @@ -90,6 +93,6 @@ type WafPolicy struct { // Required: true WafProfileRef *string `json:"waf_profile_ref"` - // A set of rules which describe conditions under which the request will bypass the WAF. This will be executed in the request header phase before any other WAF related code. Field introduced in 18.2.3. + // A set of rules which describe conditions under which the request will bypass the WAF. This will be executed in the request header phase before any other WAF related code. Field deprecated in 20.1.3. Field introduced in 18.2.3. Whitelist *WafPolicyWhitelist `json:"whitelist,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist.go new file mode 100644 index 000000000..cc8eb2096 --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist.go @@ -0,0 +1,12 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// WafPolicyAllowlist waf policy allowlist +// swagger:model WafPolicyAllowlist +type WafPolicyAllowlist struct { + + // Rules to bypass WAF. Field introduced in 20.1.3. Maximum of 1024 items allowed. + Rules []*WafPolicyAllowlistRule `json:"rules,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist_rule.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist_rule.go new file mode 100644 index 000000000..bf459824c --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_allowlist_rule.go @@ -0,0 +1,33 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// WafPolicyAllowlistRule waf policy allowlist rule +// swagger:model WafPolicyAllowlistRule +type WafPolicyAllowlistRule struct { + + // Actions to be performed upon successful matching. Enum options - WAF_POLICY_ALLOWLIST_ACTION_BYPASS, WAF_POLICY_ALLOWLIST_ACTION_DETECTION_MODE, WAF_POLICY_ALLOWLIST_ACTION_CONTINUE. Field introduced in 20.1.3. Minimum of 1 items required. Maximum of 1 items allowed. + Actions []string `json:"actions,omitempty"` + + // Description of this rule. Field introduced in 20.1.3. + Description *string `json:"description,omitempty"` + + // Enable or deactivate the rule. Field introduced in 20.1.3. + Enable *bool `json:"enable,omitempty"` + + // Rules are processed in order of this index field. Field introduced in 20.1.3. + // Required: true + Index *int32 `json:"index"` + + // Match criteria describing requests to which this rule should be applied. Field introduced in 20.1.3. + // Required: true + Match *MatchTarget `json:"match"` + + // A name describing the rule in a short form. Field introduced in 20.1.3. + // Required: true + Name *string `json:"name"` + + // Percentage of traffic that is sampled. Allowed values are 0-100. Field introduced in 20.1.3. Unit is PERCENT. + SamplingPercent *int32 `json:"sampling_percent,omitempty"` +} diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_p_s_m_group.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_p_s_m_group.go index c2bd28e85..d243f7959 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_p_s_m_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_p_s_m_group.go @@ -23,10 +23,10 @@ type WafPolicyPSMGroup struct { // This field indicates that this group is used for learning. Field introduced in 18.2.3. IsLearningGroup *bool `json:"is_learning_group,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` - // Positive Security Model locations. These are used to partition the application name space. Field introduced in 18.2.3. + // Positive Security Model locations. These are used to partition the application name space. Field introduced in 18.2.3. Maximum of 16384 items allowed. Locations []*WafPSMLocation `json:"locations,omitempty"` // If a rule in this group does not match the match_value pattern, this action will be executed. Allowed actions are WAF_ACTION_NO_OP and WAF_ACTION_BLOCK. Enum options - WAF_ACTION_NO_OP, WAF_ACTION_BLOCK, WAF_ACTION_ALLOW_PARAMETER. Field introduced in 18.2.3. diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist.go index 955400970..2c6df6c74 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist.go @@ -7,6 +7,6 @@ package models // swagger:model WafPolicyWhitelist type WafPolicyWhitelist struct { - // Rules to bypass WAF. Field introduced in 18.2.3. + // Rules to bypass WAF. Field deprecated in 20.1.3. Field introduced in 18.2.3. Maximum of 1024 items allowed. Rules []*WafPolicyWhitelistRule `json:"rules,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist_rule.go b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist_rule.go index b37c2598c..5629261f5 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_policy_whitelist_rule.go @@ -7,27 +7,27 @@ package models // swagger:model WafPolicyWhitelistRule type WafPolicyWhitelistRule struct { - // Actions to be performed upon successful matching. Enum options - WAF_POLICY_WHITELIST_ACTION_ALLOW, WAF_POLICY_WHITELIST_ACTION_DETECTION_MODE, WAF_POLICY_WHITELIST_ACTION_CONTINUE. Field introduced in 18.2.3. + // Actions to be performed upon successful matching. Enum options - WAF_POLICY_WHITELIST_ACTION_ALLOW, WAF_POLICY_WHITELIST_ACTION_DETECTION_MODE, WAF_POLICY_WHITELIST_ACTION_CONTINUE. Field deprecated in 20.1.3. Field introduced in 18.2.3. Minimum of 1 items required. Maximum of 1 items allowed. Actions []string `json:"actions,omitempty"` - // Description of this rule. Field introduced in 18.2.3. + // Description of this rule. Field deprecated in 20.1.3. Field introduced in 18.2.3. Description *string `json:"description,omitempty"` - // Enable or disable the rule. Field introduced in 18.2.3. + // Enable or disable the rule. Field deprecated in 20.1.3. Field introduced in 18.2.3. Enable *bool `json:"enable,omitempty"` - // Rules are executed in order of this index field. Field introduced in 18.2.3. + // Rules are executed in order of this index field. Field deprecated in 20.1.3. Field introduced in 18.2.3. // Required: true Index *int32 `json:"index"` - // Match criteria describing requests to which this rule should be applied. Field introduced in 18.2.3. + // Match criteria describing requests to which this rule should be applied. Field deprecated in 20.1.3. Field introduced in 18.2.3. // Required: true Match *MatchTarget `json:"match"` - // A name describing the rule in a short form. Field introduced in 18.2.3. + // A name describing the rule in a short form. Field deprecated in 20.1.3. Field introduced in 18.2.3. // Required: true Name *string `json:"name"` - // Percentage of traffic that is sampled. Allowed values are 0-100. Field introduced in 20.1.1. Unit is PERCENT. + // Percentage of traffic that is sampled. Allowed values are 0-100. Field deprecated in 20.1.3. Field introduced in 20.1.1. Unit is PERCENT. SamplingPercent *int32 `json:"sampling_percent,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_positive_security_model.go b/vendor/github.com/avinetworks/sdk/go/models/waf_positive_security_model.go index d83888596..d3c5108a9 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_positive_security_model.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_positive_security_model.go @@ -7,6 +7,6 @@ package models // swagger:model WafPositiveSecurityModel type WafPositiveSecurityModel struct { - // These groups should be used to separate different levels of concern. The order of the groups matters, one group may mark parts of the request as valid, so that subsequent groups will not check these parts. It is a reference to an object of type WafPolicyPSMGroup. Field introduced in 18.2.3. + // These groups should be used to separate different levels of concern. The order of the groups matters, one group may mark parts of the request as valid, so that subsequent groups will not check these parts. It is a reference to an object of type WafPolicyPSMGroup. Field introduced in 18.2.3. Maximum of 64 items allowed. GroupRefs []string `json:"group_refs,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_profile.go b/vendor/github.com/avinetworks/sdk/go/models/waf_profile.go index 6a2aa82cb..67e46ec03 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_profile.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_profile.go @@ -18,10 +18,10 @@ type WafProfile struct { // Field introduced in 17.2.1. Description *string `json:"description,omitempty"` - // List of Data Files Used for WAF Rules. Field introduced in 17.2.1. + // List of Data Files Used for WAF Rules. Field introduced in 17.2.1. Maximum of 64 items allowed. Files []*WafDataFile `json:"files,omitempty"` - // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.2.1. + // Key value pairs for granular object access control. Also allows for classification and tagging of similar objects. Field introduced in 20.1.2. Maximum of 4 items allowed. Labels []*KeyValue `json:"labels,omitempty"` // Field introduced in 17.2.1. diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_rule.go b/vendor/github.com/avinetworks/sdk/go/models/waf_rule.go index 84babd3a3..979093dcc 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_rule.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_rule.go @@ -11,7 +11,7 @@ type WafRule struct { // Required: true Enable *bool `json:"enable"` - // Exclude list for the WAF rule. The fields in the exclude list entry are logically and'ed to deduce the exclusion criteria. If there are multiple excludelist entries, it will be 'logical or' of them. Field introduced in 17.2.3. + // Exclude list for the WAF rule. The fields in the exclude list entry are logically and'ed to deduce the exclusion criteria. If there are multiple excludelist entries, it will be 'logical or' of them. Field introduced in 17.2.3. Maximum of 64 items allowed. ExcludeList []*WafExcludeListEntry `json:"exclude_list,omitempty"` // When set to 'true', this rule will not cause 'deny' or 'redirect' actions to run, even if WAF Policy is set to enforcement mode. The behavior would be as if this rule operated in detection mode regardless of WAF Policy setting. Field deprecated in 18.1.5. Field introduced in 18.1.4. @@ -41,6 +41,6 @@ type WafRule struct { // Identifier (id) for a rule per Modsec language. All SecRule and SecAction directives require an id. It is extracted from the id action in a ModSec rule. Rules within a single WAF Policy are required to have unique rule_ids. Field introduced in 17.2.2. RuleID *string `json:"rule_id,omitempty"` - // Tags for WAF rule as per Modsec language. They are extracted from the tag action in a ModSec rule. Field introduced in 18.1.3. + // Tags for WAF rule as per Modsec language. They are extracted from the tag action in a ModSec rule. Field introduced in 18.1.3. Maximum of 64 items allowed. Tags []string `json:"tags,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_rule_group.go b/vendor/github.com/avinetworks/sdk/go/models/waf_rule_group.go index 1c8f75482..7fb24347c 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_rule_group.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_rule_group.go @@ -11,7 +11,7 @@ type WafRuleGroup struct { // Required: true Enable *bool `json:"enable"` - // Exclude list for the WAF rule group. The fields in the exclude list entry are logically and'ed to deduce the exclusion criteria. If there are multiple excludelist entries, it will be 'logical or' of them. Field introduced in 17.2.1. + // Exclude list for the WAF rule group. The fields in the exclude list entry are logically and'ed to deduce the exclusion criteria. If there are multiple excludelist entries, it will be 'logical or' of them. Field introduced in 17.2.1. Maximum of 64 items allowed. ExcludeList []*WafExcludeListEntry `json:"exclude_list,omitempty"` // When set to 'true', any rule in this group will not cause 'deny' or 'redirect' actions to run, even if WAF Policy is set to enforcement mode. The behavior would be as if this rule operated in detection mode regardless of WAF Policy setting. Field deprecated in 18.1.5. Field introduced in 18.1.4. @@ -25,6 +25,6 @@ type WafRuleGroup struct { // Required: true Name *string `json:"name"` - // Rules as per Modsec language. Field introduced in 17.2.1. + // Rules as per Modsec language. Field introduced in 17.2.1. Maximum of 1024 items allowed. Rules []*WafRule `json:"rules,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/waf_whitelist_log.go b/vendor/github.com/avinetworks/sdk/go/models/waf_whitelist_log.go index a33d26c79..5db150c4a 100644 --- a/vendor/github.com/avinetworks/sdk/go/models/waf_whitelist_log.go +++ b/vendor/github.com/avinetworks/sdk/go/models/waf_whitelist_log.go @@ -7,9 +7,9 @@ package models // swagger:model WafWhitelistLog type WafWhitelistLog struct { - // Actions generated by this rule. Enum options - WAF_POLICY_WHITELIST_ACTION_ALLOW, WAF_POLICY_WHITELIST_ACTION_DETECTION_MODE, WAF_POLICY_WHITELIST_ACTION_CONTINUE. Field introduced in 18.2.3. + // Actions generated by this rule. Enum options - WAF_POLICY_WHITELIST_ACTION_ALLOW, WAF_POLICY_WHITELIST_ACTION_DETECTION_MODE, WAF_POLICY_WHITELIST_ACTION_CONTINUE. Field deprecated in 20.1.3. Field introduced in 18.2.3. Actions []string `json:"actions,omitempty"` - // Name of the matched rule. Field introduced in 18.2.3. + // Name of the matched rule. Field deprecated in 20.1.3. Field introduced in 18.2.3. RuleName *string `json:"rule_name,omitempty"` } diff --git a/vendor/github.com/avinetworks/sdk/go/models/web_application_signature_service_status.go b/vendor/github.com/avinetworks/sdk/go/models/web_application_signature_service_status.go new file mode 100644 index 000000000..d3b9e207d --- /dev/null +++ b/vendor/github.com/avinetworks/sdk/go/models/web_application_signature_service_status.go @@ -0,0 +1,15 @@ +package models + +// This file is auto-generated. +// Please contact avi-sdk@avinetworks.com for any change requests. + +// WebApplicationSignatureServiceStatus web application signature service status +// swagger:model WebApplicationSignatureServiceStatus +type WebApplicationSignatureServiceStatus struct { + + // If the last attempted update failed, this is a more detailed error message. Field introduced in 20.1.3. + Error *string `json:"error,omitempty"` + + // The time when the Application Signature service last successfull attemped to update this object. It will be not update, if an error occurs during an update attempt. In this case, the errror will be set. Field introduced in 20.1.3. + LastSuccessfulUpdateCheck *TimeStamp `json:"last_successful_update_check,omitempty"` +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 94f822441..e8050e584 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -3,7 +3,7 @@ cloud.google.com/go/compute/metadata # github.com/Masterminds/semver v1.5.0 ## explicit github.com/Masterminds/semver -# github.com/avinetworks/sdk v0.0.0-20200910070359-d9ffda19a7dd +# github.com/avinetworks/sdk v0.0.0-20210127001121-7d79efee089b ## explicit github.com/avinetworks/sdk/go/clients github.com/avinetworks/sdk/go/models