waft.warp_client.cli.warp_cli_settings_list module¶
- class waft.warp_client.cli.warp_cli_settings_list.SettingSource(value)¶
Bases:
Enum
Enum to define the source of the setting
- API_DEFAULT = 'api_defaults'¶
- DEFAULT = 'default'¶
- LOCAL = 'local_policy'¶
- NETWORK = 'network_policy'¶
- OVERRIDE = 'override'¶
- USER = 'user_set'¶
- class waft.warp_client.cli.warp_cli_settings_list.WarpCLISettings(*, operation_mode: WarpModes | None = None, always_on: bool | None = None, switch_locked: bool | None = None, auto_connect_after_min: int | None = None, warp_tunnel_protocol: WarpProtocols | None = None, disable_for_wifi: bool | None = None, disable_for_ethernet: bool | None = None, resolve_via: str | None = None, qlog_logging: str | None = None, onboarding: bool | None = None, split_tunnel_mode: Literal['exclude', 'include'] | None = None, split_tunnel_hosts: List[Dict[Literal['value', 'description'], str]] | None = None, split_tunnel_ips: List[Dict[Literal['value', 'description'], str]] | None = None, fallback_domains: List[Dict[Literal['domain', 'description', 'dns_servers'], str | list]] | None = None, daemon_teams_auth: bool | None = None, disable_auto_fallback: bool | None = None, captive_portal: int | None = None, support_url: str | None = None, organization: str | None = None, allow_mode_switch: bool | None = None, allow_updates: bool | None = None, allowed_to_leave: bool | None = None, mdm_configuration: str | None = None, profile_id: str | None = None, registration_scope: dict | None = None, register_tunnel_interface_ip: bool | None = None, lan_subnet_size: int | None = None, sources: dict, **extra_data: Any)¶
Bases:
BaseModel
Captures warp cli settings list into a Python object
- allow_mode_switch: bool | None¶
- allow_updates: bool | None¶
- allowed_to_leave: bool | None¶
- always_on: bool | None¶
- auto_connect: int | None¶
- captive_portal: int | None¶
- daemon_teams_auth: bool | None¶
- disable_auto_fallback: bool | None¶
- disable_for_ethernet: bool | None¶
- disable_for_wifi: bool | None¶
- fallback_domains: List[Dict[Literal['domain', 'description', 'dns_servers'], str | list]] | None¶
- get_source(setting_name) SettingSource | None ¶
Get source of setting
- Parameters:
setting_name – Name of setting for which source is being requested
Return: Source of setting, will return None if setting is not defined
- lan_subnet_size: int | None¶
- mdm_configuration: str | None¶
- model_config: ClassVar[ConfigDict] = {'extra': 'allow'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- onboarding: bool | None¶
- organization: str | None¶
- profile_id: str | None¶
- qlog_logging: str | None¶
- register_tunnel_interface_ip: bool | None¶
- registration_scope: dict | None¶
- resolve_via: str | None¶
- sources: dict¶
- split_tunnel_hosts: List[Dict[Literal['value', 'description'], str]] | None¶
- split_tunnel_ips: List[Dict[Literal['value', 'description'], str]] | None¶
- split_tunnel_mode: Literal['exclude', 'include'] | None¶
- support_url: str | None¶
- switch_locked: bool | None¶
- warp_tunnel_protocol: WarpProtocols | None¶