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>Settings for the cluster’s primary instance
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 more