pub struct UpdateLinkedTarget {
pub add_hosts: Option<String>,
pub description: Option<String>,
pub hosts: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub parent_target_name: Option<String>,
pub rm_hosts: Option<String>,
pub token: Option<String>,
pub type: Option<String>,
pub uid_token: Option<String>,
}Expand description
UpdateLinkedTarget : updateLinkedTarget is a command that updates an existing target. [Deprecated: Use target-update-linked command]
Fields§
§add_hosts: Option<String>A comma seperated list of new server hosts and server descriptions joined by semicolon ‘;’ that will be added to the Linked Target hosts.
description: Option<String>Description of the object
hosts: Option<String>A comma seperated list of server hosts and server descriptions joined by semicolon ‘;’ (i.e. ‘server-dev.com;My Dev server,server-prod.com;My Prod server description’)
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
name: StringLinked Target name
new_name: Option<String>New Linked Target name
parent_target_name: Option<String>The parent Target name
rm_hosts: Option<String>Comma separated list of existing hosts that will be removed from Linked Target hosts.
token: Option<String>Authentication token (see /auth and /configure)
type: Option<String>Specifies the hosts type, relevant only when working without parent target
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl UpdateLinkedTarget
impl UpdateLinkedTarget
Sourcepub fn new(name: String) -> UpdateLinkedTarget
pub fn new(name: String) -> UpdateLinkedTarget
updateLinkedTarget is a command that updates an existing target. [Deprecated: Use target-update-linked command]
Trait Implementations§
Source§impl Clone for UpdateLinkedTarget
impl Clone for UpdateLinkedTarget
Source§fn clone(&self) -> UpdateLinkedTarget
fn clone(&self) -> UpdateLinkedTarget
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 UpdateLinkedTarget
impl Debug for UpdateLinkedTarget
Source§impl Default for UpdateLinkedTarget
impl Default for UpdateLinkedTarget
Source§fn default() -> UpdateLinkedTarget
fn default() -> UpdateLinkedTarget
Source§impl<'de> Deserialize<'de> for UpdateLinkedTarget
impl<'de> Deserialize<'de> for UpdateLinkedTarget
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 UpdateLinkedTarget
impl PartialEq for UpdateLinkedTarget
Source§fn eq(&self, other: &UpdateLinkedTarget) -> bool
fn eq(&self, other: &UpdateLinkedTarget) -> bool
self and other values to be equal, and is used by ==.