pub struct KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall {
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 KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl Clone for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
Source§fn clone(
&self,
) -> KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
fn clone( &self, ) -> KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
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 KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl<'de> Deserialize<'de> for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
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<&KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall> for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl From<&KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall> for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
Source§fn from(
value: &KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall,
) -> Self
fn from( value: &KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl RefUnwindSafe for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl Send for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl Sync for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl Unpin for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl UnsafeUnpin for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
impl UnwindSafe for KubernetesGetClusterResponseKubernetesClusterControlPlaneFirewall
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