pub struct SimpleUpdateRequestBody {
pub force_update: Option<bool>,
pub image_uri: String,
pub password: Option<String>,
pub targets: Option<Vec<String>>,
pub transfer_protocol: Option<TransferProtocolType>,
pub username: Option<String>,
}
Expand description
This action updates software components.
Fields§
§force_update: Option<bool>
An indication of whether the service should bypass update policies when applying the provided image. The default is false
.
image_uri: String
The URI of the software image to install.
password: Option<String>
The password to access the URI specified by the ImageURI parameter.
targets: Option<Vec<String>>
An array of URIs that indicate where to apply the update image.
transfer_protocol: Option<TransferProtocolType>
§username: Option<String>
The user name to access the URI specified by the ImageURI parameter.
Trait Implementations§
source§impl Clone for SimpleUpdateRequestBody
impl Clone for SimpleUpdateRequestBody
source§fn clone(&self) -> SimpleUpdateRequestBody
fn clone(&self) -> SimpleUpdateRequestBody
Returns a copy of the value. Read more
1.0.0 · 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 SimpleUpdateRequestBody
impl Debug for SimpleUpdateRequestBody
source§impl Default for SimpleUpdateRequestBody
impl Default for SimpleUpdateRequestBody
source§fn default() -> SimpleUpdateRequestBody
fn default() -> SimpleUpdateRequestBody
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SimpleUpdateRequestBody
impl<'de> Deserialize<'de> for SimpleUpdateRequestBody
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