pub struct AlloyDbSettings {
pub database_version: Option<String>,
pub encryption_config: Option<EncryptionConfig>,
pub initial_user: Option<UserPassword>,
pub labels: Option<HashMap<String, String>>,
pub primary_instance_settings: Option<PrimaryInstanceSettings>,
pub vpc_network: Option<String>,
}
Expand description
Settings for creating an AlloyDB cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§database_version: Option<String>
Optional. The database engine major version. This is an optional field. If a database version is not supplied at cluster creation time, then a default database version will be used.
encryption_config: Option<EncryptionConfig>
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
initial_user: Option<UserPassword>
Required. Input only. Initial user to setup during cluster creation. Required.
labels: Option<HashMap<String, String>>
Labels for the AlloyDB cluster created by DMS. An object containing a list of ‘key’, ‘value’ pairs.
primary_instance_settings: Option<PrimaryInstanceSettings>
no description provided
vpc_network: Option<String>
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: “projects/{project_number}/global/networks/{network_id}”. This is required to create a cluster.
Trait Implementations§
Source§impl Clone for AlloyDbSettings
impl Clone for AlloyDbSettings
Source§fn clone(&self) -> AlloyDbSettings
fn clone(&self) -> AlloyDbSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AlloyDbSettings
impl Debug for AlloyDbSettings
Source§impl Default for AlloyDbSettings
impl Default for AlloyDbSettings
Source§fn default() -> AlloyDbSettings
fn default() -> AlloyDbSettings
Source§impl<'de> Deserialize<'de> for AlloyDbSettings
impl<'de> Deserialize<'de> for AlloyDbSettings
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>,
Source§impl Serialize for AlloyDbSettings
impl Serialize for AlloyDbSettings
impl Part for AlloyDbSettings
Auto Trait Implementations§
impl Freeze for AlloyDbSettings
impl RefUnwindSafe for AlloyDbSettings
impl Send for AlloyDbSettings
impl Sync for AlloyDbSettings
impl Unpin for AlloyDbSettings
impl UnwindSafe for AlloyDbSettings
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
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>
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>
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