pub struct KubernetesUpdateClusterBodyControlPlaneFirewall {
pub allowed_addresses: Vec<String>,
pub enabled: Option<bool>,
}Expand description
An object specifying the control plane firewall for the Kubernetes cluster. Control plane firewall is in early availability (invite only).
JSON schema
{
"description": "An object specifying the control plane firewall for the Kubernetes cluster. Control plane firewall is in early availability (invite only).",
"type": "object",
"properties": {
"allowed_addresses": {
"description": "An array of public addresses (IPv4 or CIDR) allowed to access the control plane.",
"examples": [
[
"1.2.3.4/32",
"1.1.0.0/16"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"enabled": {
"description": "Indicates whether the control plane firewall is enabled.",
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§allowed_addresses: Vec<String>An array of public addresses (IPv4 or CIDR) allowed to access the control plane.
enabled: Option<bool>Indicates whether the control plane firewall is enabled.
Trait Implementations§
Source§impl Clone for KubernetesUpdateClusterBodyControlPlaneFirewall
impl Clone for KubernetesUpdateClusterBodyControlPlaneFirewall
Source§fn clone(&self) -> KubernetesUpdateClusterBodyControlPlaneFirewall
fn clone(&self) -> KubernetesUpdateClusterBodyControlPlaneFirewall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesUpdateClusterBodyControlPlaneFirewall
impl<'de> Deserialize<'de> for KubernetesUpdateClusterBodyControlPlaneFirewall
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<&KubernetesUpdateClusterBodyControlPlaneFirewall> for KubernetesUpdateClusterBodyControlPlaneFirewall
impl From<&KubernetesUpdateClusterBodyControlPlaneFirewall> for KubernetesUpdateClusterBodyControlPlaneFirewall
Source§fn from(value: &KubernetesUpdateClusterBodyControlPlaneFirewall) -> Self
fn from(value: &KubernetesUpdateClusterBodyControlPlaneFirewall) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesUpdateClusterBodyControlPlaneFirewall
impl RefUnwindSafe for KubernetesUpdateClusterBodyControlPlaneFirewall
impl Send for KubernetesUpdateClusterBodyControlPlaneFirewall
impl Sync for KubernetesUpdateClusterBodyControlPlaneFirewall
impl Unpin for KubernetesUpdateClusterBodyControlPlaneFirewall
impl UnsafeUnpin for KubernetesUpdateClusterBodyControlPlaneFirewall
impl UnwindSafe for KubernetesUpdateClusterBodyControlPlaneFirewall
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