pub struct UpdateContainerServiceRequest {
pub is_disabled: Option<bool>,
pub power: Option<String>,
pub public_domain_names: Option<HashMap<String, Vec<String>>>,
pub scale: Option<i64>,
pub service_name: String,
}
Fields
is_disabled: Option<bool>
A Boolean value to indicate whether the container service is disabled.
power: Option<String>
The power for the container service.
The power specifies the amount of memory, vCPUs, and base monthly cost of each node of the container service. The power
and scale
of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power
with the scale
(the number of nodes) of the service.
Use the GetContainerServicePowers
action to view the specifications of each power option.
public_domain_names: Option<HashMap<String, Vec<String>>>
The public domain names to use with the container service, such as example.com
and www.example.com
.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate
action to create a certificate for the public domain names you want to use with your container service.
You can specify public domain names using a string to array map as shown in the example later on this page.
scale: Option<i64>
The scale for the container service.
The scale specifies the allocated compute nodes of the container service. The power
and scale
of a container service makes up its configured capacity. To determine the monthly price of your container service, multiply the base price of the power
with the scale
(the number of nodes) of the service.
service_name: String
The name of the container service to update.
Trait Implementations
sourceimpl Clone for UpdateContainerServiceRequest
impl Clone for UpdateContainerServiceRequest
sourcefn clone(&self) -> UpdateContainerServiceRequest
fn clone(&self) -> UpdateContainerServiceRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateContainerServiceRequest
impl Debug for UpdateContainerServiceRequest
sourceimpl Default for UpdateContainerServiceRequest
impl Default for UpdateContainerServiceRequest
sourcefn default() -> UpdateContainerServiceRequest
fn default() -> UpdateContainerServiceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateContainerServiceRequest> for UpdateContainerServiceRequest
impl PartialEq<UpdateContainerServiceRequest> for UpdateContainerServiceRequest
sourcefn eq(&self, other: &UpdateContainerServiceRequest) -> bool
fn eq(&self, other: &UpdateContainerServiceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateContainerServiceRequest) -> bool
fn ne(&self, other: &UpdateContainerServiceRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateContainerServiceRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateContainerServiceRequest
impl Send for UpdateContainerServiceRequest
impl Sync for UpdateContainerServiceRequest
impl Unpin for UpdateContainerServiceRequest
impl UnwindSafe for UpdateContainerServiceRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more