pub struct CreateSshTarget {Show 14 fields
pub comment: Option<String>,
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
CreateSshTarget : createSSHTarget is a command that creates a new target. [Deprecated: Use target-create-ssh command]
Fields§
§comment: Option<String>Deprecated - use description
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 CreateSshTarget
impl CreateSshTarget
Sourcepub fn new(name: String) -> CreateSshTarget
pub fn new(name: String) -> CreateSshTarget
createSSHTarget is a command that creates a new target. [Deprecated: Use target-create-ssh command]
Trait Implementations§
Source§impl Clone for CreateSshTarget
impl Clone for CreateSshTarget
Source§fn clone(&self) -> CreateSshTarget
fn clone(&self) -> CreateSshTarget
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 CreateSshTarget
impl Debug for CreateSshTarget
Source§impl Default for CreateSshTarget
impl Default for CreateSshTarget
Source§fn default() -> CreateSshTarget
fn default() -> CreateSshTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSshTarget
impl<'de> Deserialize<'de> for CreateSshTarget
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 CreateSshTarget
impl PartialEq for CreateSshTarget
Source§fn eq(&self, other: &CreateSshTarget) -> bool
fn eq(&self, other: &CreateSshTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateSshTarget
impl Serialize for CreateSshTarget
impl StructuralPartialEq for CreateSshTarget
Auto Trait Implementations§
impl Freeze for CreateSshTarget
impl RefUnwindSafe for CreateSshTarget
impl Send for CreateSshTarget
impl Sync for CreateSshTarget
impl Unpin for CreateSshTarget
impl UnsafeUnpin for CreateSshTarget
impl UnwindSafe for CreateSshTarget
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