pub struct RegisterTargetSystemRequestModel {
pub name: String,
pub method: PamTargetSystemMethod,
pub kind: Option<PamTargetSystemKind>,
pub password_policy: Option<Box<PamPasswordPolicyRequestModel>>,
pub supports_session_termination: Option<bool>,
}Expand description
RegisterTargetSystemRequestModel : Registers a target system, automatic or manual (spec
RegisterAutomaticTargetSystem / RegisterManualTargetSystem) – method-discriminated on
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.RegisterTargetSystemRequestModel.
Method: an Bit.Pam.Enums.PamTargetSystemMethod.Automatic target carries
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.RegisterTargetSystemRequestModel.
Kind, Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
RegisterTargetSystemRequestModel.PasswordPolicy, and
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.RegisterTargetSystemRequestModel.
SupportsSessionTermination; a Bit.Pam.Enums.PamTargetSystemMethod.Manual target carries none of
the three.
Fields§
§name: StringThe target system’s display name, shown wherever targets are listed and managed.
method: PamTargetSystemMethod§kind: Option<PamTargetSystemKind>§password_policy: Option<Box<PamPasswordPolicyRequestModel>>§supports_session_termination: Option<bool>Whether the integration can terminate the account’s live sessions after a rotation; gates whether rotation configs on this target may request session termination.
Implementations§
Source§impl RegisterTargetSystemRequestModel
impl RegisterTargetSystemRequestModel
Sourcepub fn new(
name: String,
method: PamTargetSystemMethod,
) -> RegisterTargetSystemRequestModel
pub fn new( name: String, method: PamTargetSystemMethod, ) -> RegisterTargetSystemRequestModel
Registers a target system, automatic or manual (spec RegisterAutomaticTargetSystem /
RegisterManualTargetSystem) – method-discriminated on
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
RegisterTargetSystemRequestModel.Method: an Bit.Pam.Enums.PamTargetSystemMethod.Automatic
target carries
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
RegisterTargetSystemRequestModel.Kind,
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
RegisterTargetSystemRequestModel.PasswordPolicy, and
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
RegisterTargetSystemRequestModel.SupportsSessionTermination; a
Bit.Pam.Enums.PamTargetSystemMethod.Manual target carries none of the three.
Trait Implementations§
Source§impl Clone for RegisterTargetSystemRequestModel
impl Clone for RegisterTargetSystemRequestModel
Source§fn clone(&self) -> RegisterTargetSystemRequestModel
fn clone(&self) -> RegisterTargetSystemRequestModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for RegisterTargetSystemRequestModel
impl Default for RegisterTargetSystemRequestModel
Source§fn default() -> RegisterTargetSystemRequestModel
fn default() -> RegisterTargetSystemRequestModel
Source§impl<'de> Deserialize<'de> for RegisterTargetSystemRequestModel
impl<'de> Deserialize<'de> for RegisterTargetSystemRequestModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for RegisterTargetSystemRequestModel
Auto Trait Implementations§
impl Freeze for RegisterTargetSystemRequestModel
impl RefUnwindSafe for RegisterTargetSystemRequestModel
impl Send for RegisterTargetSystemRequestModel
impl Sync for RegisterTargetSystemRequestModel
impl Unpin for RegisterTargetSystemRequestModel
impl UnsafeUnpin for RegisterTargetSystemRequestModel
impl UnwindSafe for RegisterTargetSystemRequestModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more