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 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 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 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