pub struct UpdateSshTarget {Show 16 fields
pub description: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<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>,
pub update_version: Option<bool>,
}Expand description
UpdateSshTarget : updateSSHTarget is a command that updates an existing target. [Deprecated: Use target-update-ssh command]
Fields§
§description: Option<String>Description of the object
host: Option<String>SSH host name
json: Option<bool>Set output format to JSON
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
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
new_name: Option<String>New target 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
update_version: Option<bool>Deprecated
Implementations§
Source§impl UpdateSshTarget
impl UpdateSshTarget
Sourcepub fn new(name: String) -> UpdateSshTarget
pub fn new(name: String) -> UpdateSshTarget
updateSSHTarget is a command that updates an existing target. [Deprecated: Use target-update-ssh command]
Trait Implementations§
Source§impl Clone for UpdateSshTarget
impl Clone for UpdateSshTarget
Source§fn clone(&self) -> UpdateSshTarget
fn clone(&self) -> UpdateSshTarget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateSshTarget
impl Debug for UpdateSshTarget
Source§impl Default for UpdateSshTarget
impl Default for UpdateSshTarget
Source§fn default() -> UpdateSshTarget
fn default() -> UpdateSshTarget
Source§impl<'de> Deserialize<'de> for UpdateSshTarget
impl<'de> Deserialize<'de> for UpdateSshTarget
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>,
Source§impl PartialEq for UpdateSshTarget
impl PartialEq for UpdateSshTarget
Source§fn eq(&self, other: &UpdateSshTarget) -> bool
fn eq(&self, other: &UpdateSshTarget) -> bool
self and other values to be equal, and is used by ==.