Trait WorkspaceManagementApi
Source pub trait WorkspaceManagementApi: Send + Sync {
Show 17 methods
// Required methods
fn create_api_user<'life0, 'async_trait>(
&'life0 self,
params: CreateApiUserParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateApiUserError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_console_user<'life0, 'async_trait>(
&'life0 self,
params: CreateConsoleUserParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateConsoleUserError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_user_group<'life0, 'async_trait>(
&'life0 self,
params: CreateUserGroupParams,
) -> Pin<Box<dyn Future<Output = Result<CreateUserGroupResponse, Error<CreateUserGroupError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_user_group<'life0, 'async_trait>(
&'life0 self,
params: DeleteUserGroupParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteUserGroupError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_api_users<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<GetApiUsersResponse, Error<GetApiUsersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_audit_logs<'life0, 'async_trait>(
&'life0 self,
params: GetAuditLogsParams,
) -> Pin<Box<dyn Future<Output = Result<GetAuditLogsResponse, Error<GetAuditLogsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_audits<'life0, 'async_trait>(
&'life0 self,
params: GetAuditsParams,
) -> Pin<Box<dyn Future<Output = Result<GetAuditLogsResponseDto, Error<GetAuditsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_console_users<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<GetConsoleUsersResponse, Error<GetConsoleUsersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_ota_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<GetOtaStatusResponse, Error<GetOtaStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_user_group<'life0, 'async_trait>(
&'life0 self,
params: GetUserGroupParams,
) -> Pin<Box<dyn Future<Output = Result<UserGroupResponse, Error<GetUserGroupError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_user_groups<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserGroupResponse>, Error<GetUserGroupsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_users<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserResponse>, Error<GetUsersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_whitelist_ip_addresses<'life0, 'async_trait>(
&'life0 self,
params: GetWhitelistIpAddressesParams,
) -> Pin<Box<dyn Future<Output = Result<GetWhitelistIpAddressesResponse, Error<GetWhitelistIpAddressesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_workspace_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<GetWorkspaceStatusResponse, Error<GetWorkspaceStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reset_device<'life0, 'async_trait>(
&'life0 self,
params: ResetDeviceParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ResetDeviceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_ota_status<'life0, 'async_trait>(
&'life0 self,
params: SetOtaStatusParams,
) -> Pin<Box<dyn Future<Output = Result<SetOtaStatusResponse, Error<SetOtaStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_user_group<'life0, 'async_trait>(
&'life0 self,
params: UpdateUserGroupParams,
) -> Pin<Box<dyn Future<Output = Result<UserGroupCreateResponse, Error<UpdateUserGroupError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}