pub struct SqlIpConfig {
pub allocated_ip_range: Option<String>,
pub authorized_networks: Option<Vec<SqlAclEntry>>,
pub enable_ipv4: Option<bool>,
pub private_network: Option<String>,
pub require_ssl: Option<bool>,
}
Expand description
IP Management configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allocated_ip_range: Option<String>
Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can’t be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.
The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as ‘slash’ notation (e.g. 192.168.100.0/24
).
enable_ipv4: Option<bool>
Whether the instance should be assigned an IPv4 address or not.
private_network: Option<String>
The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.
require_ssl: Option<bool>
Whether SSL connections over IP should be enforced or not.
Trait Implementations§
Source§impl Clone for SqlIpConfig
impl Clone for SqlIpConfig
Source§fn clone(&self) -> SqlIpConfig
fn clone(&self) -> SqlIpConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SqlIpConfig
impl Debug for SqlIpConfig
Source§impl Default for SqlIpConfig
impl Default for SqlIpConfig
Source§fn default() -> SqlIpConfig
fn default() -> SqlIpConfig
Source§impl<'de> Deserialize<'de> for SqlIpConfig
impl<'de> Deserialize<'de> for SqlIpConfig
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 SqlIpConfig
impl Serialize for SqlIpConfig
impl Part for SqlIpConfig
Auto Trait Implementations§
impl Freeze for SqlIpConfig
impl RefUnwindSafe for SqlIpConfig
impl Send for SqlIpConfig
impl Sync for SqlIpConfig
impl Unpin for SqlIpConfig
impl UnwindSafe for SqlIpConfig
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