mutation SetFirewallMode($mode: FirewallModeEnum!) {
    setFirewallMode(input: {mode: $mode }) {
        query {
            server {
                firewall {
                    icmpRules {
                        key
                        isEnabled
                    }
                    rules {
                        key
                        name
                        action
                        port
                        protocol
                        profiles
                        remoteAddresses
                        isEnabled
                        isReadonly
                    }
                }
            }
        }
    }
}
