pub struct PrimaryInstanceSettings {
pub database_flags: Option<HashMap<String, String>>,
pub id: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub machine_config: Option<MachineConfig>,
pub private_ip: Option<String>,
}
Expand description
Settings for the cluster’s primary instance
This type is not used in any activity, and only used as part of another schema.
Fields§
§database_flags: Option<HashMap<String, String>>
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
id: Option<String>
Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression “[a-z0-9-]+”.
labels: Option<HashMap<String, String>>
Labels for the AlloyDB primary instance created by DMS. An object containing a list of ‘key’, ‘value’ pairs.
machine_config: Option<MachineConfig>
Configuration for the machines that host the underlying database engine.
private_ip: Option<String>
Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
Trait Implementations§
Source§impl Clone for PrimaryInstanceSettings
impl Clone for PrimaryInstanceSettings
Source§fn clone(&self) -> PrimaryInstanceSettings
fn clone(&self) -> PrimaryInstanceSettings
Returns a duplicate 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 PrimaryInstanceSettings
impl Debug for PrimaryInstanceSettings
Source§impl Default for PrimaryInstanceSettings
impl Default for PrimaryInstanceSettings
Source§fn default() -> PrimaryInstanceSettings
fn default() -> PrimaryInstanceSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrimaryInstanceSettings
impl<'de> Deserialize<'de> for PrimaryInstanceSettings
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
Source§impl Serialize for PrimaryInstanceSettings
impl Serialize for PrimaryInstanceSettings
impl Part for PrimaryInstanceSettings
Auto Trait Implementations§
impl Freeze for PrimaryInstanceSettings
impl RefUnwindSafe for PrimaryInstanceSettings
impl Send for PrimaryInstanceSettings
impl Sync for PrimaryInstanceSettings
impl Unpin for PrimaryInstanceSettings
impl UnwindSafe for PrimaryInstanceSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more