Struct google_datamigration1::api::CloudSqlSettings [−][src]
Settings for creating a Cloud SQL database instance.
This type is not used in any activity, and only used as part of another schema.
Fields
activation_policy: Option<String>The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. NEVER: The instance is off; it is not activated, even if a connection request arrives.
auto_storage_increase: Option<bool>[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
collation: Option<String>The Cloud SQL default instance level collation.
data_disk_size_gb: Option<String>The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
data_disk_type: Option<String>The type of storage: PD_SSD (default) or PD_HDD.
database_flags: Option<HashMap<String, String>>The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
database_version: Option<String>The database engine type and version.
ip_config: Option<SqlIpConfig>The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
root_password: Option<String>Input only. Initial root password.
root_password_set: Option<bool>Output only. Indicates If this connection profile root password is stored.
source_id: Option<String>The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
storage_auto_resize_limit: Option<String>The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
tier: Option<String>The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see Cloud SQL Instance Settings.
user_labels: Option<HashMap<String, String>>The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "18kg", "count": "3" }.
zone: Option<String>The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
Trait Implementations
impl Clone for CloudSqlSettings[src]
fn clone(&self) -> CloudSqlSettings[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for CloudSqlSettings[src]
impl Default for CloudSqlSettings[src]
fn default() -> CloudSqlSettings[src]
impl<'de> Deserialize<'de> for CloudSqlSettings[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for CloudSqlSettings[src]
impl Serialize for CloudSqlSettings[src]
Auto Trait Implementations
impl RefUnwindSafe for CloudSqlSettings[src]
impl Send for CloudSqlSettings[src]
impl Sync for CloudSqlSettings[src]
impl Unpin for CloudSqlSettings[src]
impl UnwindSafe for CloudSqlSettings[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,