pub struct UpdateAppRequest {
pub app_id: String,
pub app_source: Option<Source>,
pub attributes: Option<HashMap<String, String>>,
pub data_sources: Option<Vec<DataSource>>,
pub description: Option<String>,
pub domains: Option<Vec<String>>,
pub enable_ssl: Option<bool>,
pub environment: Option<Vec<EnvironmentVariable>>,
pub name: Option<String>,
pub ssl_configuration: Option<SslConfiguration>,
pub type_: Option<String>,
}
A Source
object that specifies the app repository.
One or more user-defined key/value pairs to be added to the stack attributes.
A description of the app.
domains: Option<Vec<String>>
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
Whether SSL is enabled for the app.
An array of EnvironmentVariable
objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
An SslConfiguration
object with the SSL configuration.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static