pub struct RedisObservedConfig {
pub auth_enabled: Option<bool>,
pub endpoint: Option<String>,
pub engine_version: Option<String>,
pub eviction_policy: Option<String>,
pub node_type: Option<String>,
pub persistence_enabled: Option<bool>,
pub port: Option<i32>,
pub public_network_access: Option<bool>,
pub replica_count: Option<i32>,
pub tls_enabled: Option<bool>,
}Expand description
Configuration the controller reads back from the cloud, to compare with the desired configuration.
JSON schema
{
"description": "Configuration the controller reads back from the cloud, to compare with the\ndesired configuration.",
"type": "object",
"properties": {
"authEnabled": {
"type": [
"boolean",
"null"
]
},
"endpoint": {
"type": [
"string",
"null"
]
},
"engineVersion": {
"description": "Engine name and version as the cloud reports it.",
"type": [
"string",
"null"
]
},
"evictionPolicy": {
"type": [
"string",
"null"
]
},
"nodeType": {
"description": "Node type or SKU name.",
"type": [
"string",
"null"
]
},
"persistenceEnabled": {
"type": [
"boolean",
"null"
]
},
"port": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"publicNetworkAccess": {
"description": "Azure only: true when the server accepts connections from the public internet.",
"type": [
"boolean",
"null"
]
},
"replicaCount": {
"description": "Replicas behind the primary.",
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"tlsEnabled": {
"type": [
"boolean",
"null"
]
}
}
}Fields§
§auth_enabled: Option<bool>§endpoint: Option<String>§engine_version: Option<String>Engine name and version as the cloud reports it.
eviction_policy: Option<String>§node_type: Option<String>Node type or SKU name.
persistence_enabled: Option<bool>§port: Option<i32>§public_network_access: Option<bool>Azure only: true when the server accepts connections from the public internet.
replica_count: Option<i32>Replicas behind the primary.
tls_enabled: Option<bool>Implementations§
Source§impl RedisObservedConfig
impl RedisObservedConfig
pub fn builder() -> RedisObservedConfig
Trait Implementations§
Source§impl Clone for RedisObservedConfig
impl Clone for RedisObservedConfig
Source§impl Debug for RedisObservedConfig
impl Debug for RedisObservedConfig
Source§impl Default for RedisObservedConfig
impl Default for RedisObservedConfig
Source§impl<'de> Deserialize<'de> for RedisObservedConfig
impl<'de> Deserialize<'de> for RedisObservedConfig
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 From<&RedisObservedConfig> for RedisObservedConfig
impl From<&RedisObservedConfig> for RedisObservedConfig
Source§fn from(value: &RedisObservedConfig) -> Self
fn from(value: &RedisObservedConfig) -> Self
Converts to this type from the input type.
Source§impl From<RedisObservedConfig> for RedisObservedConfig
impl From<RedisObservedConfig> for RedisObservedConfig
Source§fn from(value: RedisObservedConfig) -> Self
fn from(value: RedisObservedConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for RedisObservedConfig
impl Serialize for RedisObservedConfig
Source§impl TryFrom<RedisObservedConfig> for RedisObservedConfig
impl TryFrom<RedisObservedConfig> for RedisObservedConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RedisObservedConfig) -> Result<Self, ConversionError>
fn try_from(value: RedisObservedConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for RedisObservedConfig
impl Freeze for RedisObservedConfig
impl RefUnwindSafe for RedisObservedConfig
impl Send for RedisObservedConfig
impl Sync for RedisObservedConfig
impl Unpin for RedisObservedConfig
impl UnsafeUnpin for RedisObservedConfig
impl UnwindSafe for RedisObservedConfig
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