pub struct CreateSessionRequest {
pub cfs_conf_sess_name: Option<String>,
pub playbook_yaml_file_name: Option<String>,
pub hsm_group: Option<String>,
pub repo_names: Vec<String>,
pub repo_last_commit_ids: Vec<String>,
pub ansible_limit: Option<String>,
pub ansible_verbosity: Option<String>,
pub ansible_passthrough: Option<String>,
}Expand description
Request body for POST /sessions.
Fields§
§cfs_conf_sess_name: Option<String>Explicit name for the CFS session and configuration; auto-generated when absent.
playbook_yaml_file_name: Option<String>Ansible playbook filename inside the repository.
hsm_group: Option<String>Target HSM group name.
repo_names: Vec<String>Git repository names (parallel-indexed with repo_last_commit_ids).
repo_last_commit_ids: Vec<String>Git commit SHAs matching each entry in repo_names.
ansible_limit: Option<String>Ansible --limit expression to restrict which hosts are targeted.
ansible_verbosity: Option<String>Ansible verbosity level (e.g. "-v", "-vvv").
ansible_passthrough: Option<String>Extra arguments forwarded verbatim to ansible-playbook.
Trait Implementations§
Source§impl ComposeSchema for CreateSessionRequest
impl ComposeSchema for CreateSessionRequest
Source§impl<'de> Deserialize<'de> for CreateSessionRequest
impl<'de> Deserialize<'de> for CreateSessionRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateSessionRequest
impl RefUnwindSafe for CreateSessionRequest
impl Send for CreateSessionRequest
impl Sync for CreateSessionRequest
impl Unpin for CreateSessionRequest
impl UnwindSafe for CreateSessionRequest
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.