pub struct TargetCreateSsh {Show 13 fields
pub description: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub port: Option<String>,
pub private_key: Option<String>,
pub private_key_password: Option<String>,
pub ssh_password: Option<String>,
pub ssh_username: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
TargetCreateSsh : targetCreateSsh is a command that creates a new ssh target
Fields§
§description: Option<String>Description of the object
host: Option<String>SSH host name
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
port: Option<String>SSH port
private_key: Option<String>SSH private key
private_key_password: Option<String>SSH private key password
ssh_password: Option<String>SSH password to rotate
ssh_username: Option<String>SSH username
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetCreateSsh
impl TargetCreateSsh
Sourcepub fn new(name: String) -> TargetCreateSsh
pub fn new(name: String) -> TargetCreateSsh
targetCreateSsh is a command that creates a new ssh target
Trait Implementations§
Source§impl Clone for TargetCreateSsh
impl Clone for TargetCreateSsh
Source§fn clone(&self) -> TargetCreateSsh
fn clone(&self) -> TargetCreateSsh
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetCreateSsh
impl Debug for TargetCreateSsh
Source§impl Default for TargetCreateSsh
impl Default for TargetCreateSsh
Source§fn default() -> TargetCreateSsh
fn default() -> TargetCreateSsh
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetCreateSsh
impl<'de> Deserialize<'de> for TargetCreateSsh
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
Source§impl PartialEq for TargetCreateSsh
impl PartialEq for TargetCreateSsh
Source§fn eq(&self, other: &TargetCreateSsh) -> bool
fn eq(&self, other: &TargetCreateSsh) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetCreateSsh
impl Serialize for TargetCreateSsh
impl StructuralPartialEq for TargetCreateSsh
Auto Trait Implementations§
impl Freeze for TargetCreateSsh
impl RefUnwindSafe for TargetCreateSsh
impl Send for TargetCreateSsh
impl Sync for TargetCreateSsh
impl Unpin for TargetCreateSsh
impl UnsafeUnpin for TargetCreateSsh
impl UnwindSafe for TargetCreateSsh
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