pub struct CreateUserGroupRequest {
pub name: String,
pub debug_mode: Option<i32>,
pub gui_access: Option<i32>,
pub users_status: Option<i32>,
pub hostgroup_rights: Option<Vec<UserGroupPermission>>,
pub templategroup_rights: Option<Vec<UserGroupPermission>>,
pub tag_filters: Option<Vec<UserGroupTagFilter>>,
pub users: Option<Vec<UserGroupUser>>,
}
Expand description
Parameters for the usergroup.create
API method.
See: https://www.zabbix.com/documentation/current/en/manual/api/reference/usergroup/create
Fields§
§name: String
Name of the user group.
debug_mode: Option<i32>
(optional) Whether debug mode is enabled or disabled. 0 - (default) disabled; 1 - enabled.
gui_access: Option<i32>
(optional) Frontend authentication method of the users in the group. 0 - (default) use the system default authentication method; 1 - use internal authentication; 2 - use LDAP authentication; 3 - disable access to the frontend.
users_status: Option<i32>
(optional) Whether the user group is enabled or disabled. 0 - (default) enabled; 1 - disabled.
hostgroup_rights: Option<Vec<UserGroupPermission>>
(optional) Host group permissions to assign to the user group.
templategroup_rights: Option<Vec<UserGroupPermission>>
(optional) Template group permissions to assign to the user group.
tag_filters: Option<Vec<UserGroupTagFilter>>
(optional) Tag-based permissions to assign to the user group.
users: Option<Vec<UserGroupUser>>
(optional) Users to add to the user group.
Trait Implementations§
Source§impl Clone for CreateUserGroupRequest
impl Clone for CreateUserGroupRequest
Source§fn clone(&self) -> CreateUserGroupRequest
fn clone(&self) -> CreateUserGroupRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more